Results 1 to 25 of 31
Thread: C#
Hybrid View
-
27th January 2009 20:17 #1Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
C#
web . System.Text.RegularExpressions .
, , , . .
1. ( string b=null; ) , (string b= c; ). , :
A local variable named 'b' cannot be declared in this scope because it would give a different meaning to 'b', which is already used in a 'parent or current' scope to denote something else.
2. "Match m" (m = Regex.Match) , "m" , , , ? ( , )
Cannot implicitly convert type 'System.Text.RegularExpressions.Match' to 'string'
3. , , "http://" "string a", , ?
4. 5 "int" ( ), ( if i>1000).string site1 = "http://"+c;
5. - , 6 web , . + (Enter "OK" ),RPs</strong></td>
<td class="p11_666699"><strong>1,500
-
27th January 2009 21:54 #2Registered User
Join Date: Dec:2007
Location: Sofia
Posts: 366
, ,

, 5 . C# ( ). , , .
- :
1. C#, , ..
2. , .
-
27th January 2009 22:03 #3Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
, C, BorlandC . , . . , , -.
, .
-
27th January 2009 22:19 #4Registered User
Join Date: Dec:2007
Location: Sofia
Posts: 366
icaci 1.
string b = null;
// other code here...
string b = c;
string b = null;
// other code here...
b = c;
, b 'string b = c;', .
-
27th January 2009 23:29 #5
:
string number = text.SubString(text.Length - 5).Replace(",", string.Empty);
int digit = int.Parse(number);
I mourn thee by dusk | I mourn thee by dawn
Crave for thy gloss | to seek the silent glades beyond
-
28th January 2009 01:52 #6Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
.
, , BorlandC
.
"'System.Text.RegularExpressions. Match" "string"
, , , . , e .string s = m.ToString();
, , -. , .string sub = s.Substring(13, 2);
int i = int.Parse(sub);
Edit: Lan, . .
Last edited by DreamInvader; 28th January 2009 at 03:33.
-
27th January 2009 22:03 #7
, 1 2.
1. b, - . b b. , . C, C#.
2. m System.Text.RegularExpressions.Match, . property Groups, , .
3. , . string.Format().
4. int.Parse(). string .
5. WebClient.Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
28th January 2009 02:26 #8
Win32 API ?
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 02:51 #9Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
75hz C. , . a Web Forma

Console Windows Application . , .
-
28th January 2009 03:03 #10
, C Win32 API. , C, . Win32 API, .
, , - .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 03:25 #11Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
. , . .
-
28th January 2009 03:41 #12
-
28th January 2009 04:02 #13Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
, :
":/Temp/httpauth/vcproj cannot be opened because its project type (.vcproj) is not supported by this version of the application. To open it, please use a version that supports this type of project."
-
28th January 2009 04:10 #14
?
.cpp , .EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 04:19 #15Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
CPP- C

Microsoft Visual C# 2008 Express Edition with SP1 - ENU , , C#. , , , .
, Google, - ?
-
28th January 2009 04:31 #16
Visual Studio 2005 , . . , , :
httpauth.exe - ____ _
:
( , !). , , , .Code:httpauth.exe - www.hardwarebg.com /forum
- HTTP , , . .
#, , - # , .
. - C Win32 API .
, C#, :
http://msdn.microsoft.com/en-us/libr...henticate.aspxLast edited by Bombera; 28th January 2009 at 04:48.
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 04:58 #17Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27

, , , . :
https://shop.playrohan.com/Exchange/...?SaleSep=27823
C# 7 , . WebRequest WebClient.Last edited by DreamInvader; 29th January 2009 at 16:47.
-
28th January 2009 05:18 #18
- WebRequest # ,

, , . , , , . - POST HTTP , , . , - , .
, , , , ,
, .
, , .EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 05:29 #19Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
a , authentication credentials POST. . POST . http://developer.yahoo.com/dotnet/howto-rest_cs.html
-
28th January 2009 05:43 #20
. , . , , , .
, , Web Developer Toolbar-a, . , , .
,
!
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
28th January 2009 06:24 #21Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
Mozilla , , <inputname="userpwd">.
, , . , , cookies . Username: hardwarebg, Password: hardware.
, , .
-
29th January 2009 11:57 #22
, perl ..
-
29th January 2009 12:18 #23
?
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
29th January 2009 16:42 #24Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
WebDeveloper session cookies, , . :
T -, delay , , tab popup- firefox.System.Diagnostics.Process.Start ("firefox.exe", "url");
Bombera POST , 6 . delay, .
, Console Application authentication + POST -, , OSK . .
- :
https://shop.playrohan.com/Exchange/...?SaleSep=27823
( , username: hardwarebg , password: hardware)Last edited by BobyTT; 31st January 2009 at 09:54.
-
31st January 2009 03:40 #25Registered User
Join Date: Jan:2009
Location: Varna
Posts: 27
, .
"Fiddler" HTTPS , . ( ) .
( Fiddler).
.HttpWebRequest request = (HttpWebRequest)WebRequest.Create("URL ");
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
POST ( Fiddler) .String cookie = response.GetResponseHeader("Set-Cookie");
POST .request = (HttpWebRequest)WebRequest.Create("URL ");
request.Headers.Add (HttpRequestHeader.Cookie, cookie);
String postString = "";
System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding();
request.Method = "POST";
byte[] requestData = encoding.GetBytes(postString);
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = requestData.Length;
Stream requestStream = request.GetRequestStream();
requestStream.Write(requestData, 0, requestData.Length);
requestStream.Close();




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in