Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
GeneralRe: OPC client server Pin
Dave Kreskowiak8-Oct-18 4:10
mveDave Kreskowiak8-Oct-18 4:10 
GeneralRe: OPC client server Pin
Roberto64_Ge8-Oct-18 4:45
Roberto64_Ge8-Oct-18 4:45 
GeneralRe: OPC client server Pin
Dave Kreskowiak8-Oct-18 8:21
mveDave Kreskowiak8-Oct-18 8:21 
QuestionActive touchscreen detection Pin
sarmadi2-Oct-18 19:43
sarmadi2-Oct-18 19:43 
QuestionHow should JSON Deserializer work ? (basic question). FIXED. Pin
Maximilien2-Oct-18 9:04
Maximilien2-Oct-18 9:04 
QuestionAsync Memory leak ... Pin
Super Lloyd1-Oct-18 21:13
Super Lloyd1-Oct-18 21:13 
AnswerRe: Async Memory leak ... Pin
Nathan Minier2-Oct-18 1:31
professionalNathan Minier2-Oct-18 1:31 
QuestionSqlite DB Verification Pin
Member 1394838230-Sep-18 20:24
Member 1394838230-Sep-18 20:24 
AnswerRe: Sqlite DB Verification Pin
Richard MacCutchan30-Sep-18 21:11
mveRichard MacCutchan30-Sep-18 21:11 
AnswerRe: Sqlite DB Verification Pin
OriginalGriff30-Sep-18 21:17
mveOriginalGriff30-Sep-18 21:17 
QuestionBeginning Student Array Question Pin
Member 1400299730-Sep-18 14:41
Member 1400299730-Sep-18 14:41 
AnswerRe: Beginning Student Array Question Pin
Dave Kreskowiak30-Sep-18 17:56
mveDave Kreskowiak30-Sep-18 17:56 
AnswerRe: Beginning Student Array Question Pin
OriginalGriff30-Sep-18 19:51
mveOriginalGriff30-Sep-18 19:51 
QuestionPython httpServ.request in C# - HttpWebRequest ? Pin
Member 1400288230-Sep-18 9:59
Member 1400288230-Sep-18 9:59 
AnswerRe: Python httpServ.request in C# - HttpWebRequest ? Pin
Richard MacCutchan30-Sep-18 21:08
mveRichard MacCutchan30-Sep-18 21:08 
GeneralRe: Python httpServ.request in C# - HttpWebRequest ? Pin
Member 140028821-Oct-18 11:26
Member 140028821-Oct-18 11:26 
OK, thanks...
I`m failing to write to the data field, in the original Python code the method is GET and still i see data on the request data field but on the C# code I’m not sure how to get the same capture, im getting something like this, where my data (the commands to the remote system "<eex ver="1.0"><cmd ....")="" been="" attached="" to="" the="" header:

<pre="">GET /loadinst.cgi <EEX Ver='1.0'><CMD ....
Host: xxx.xxx.xxx.148
Accept-Encoding: identity

and the data field is empty, so the remote instrument refuse the connection.
So my question is what is the C# implementation to get something like this:

Hypertext Transfer Protocol
    GET /loadinst.cgi HTTP/1.1\r\n
    Host: xxx.xxx.xxx.148\r\n
    Accept-Encoding: identity\r\n
    Content-Length: 119\r\n
    \r\n
    [Full request URI: http://xxx.xxx.xxx.148/loadinst.cgi]
    [HTTP request 1/1]
    [Response in frame: 30]
    File Data: 119 bytes
    Data (119 bytes)
        Data: <EEX Ver='1.0'><CMD...
        [Length: 119] 


thanks for the help...
QuestionSwitching 2 Variables Pin
Member 1400283730-Sep-18 8:19
Member 1400283730-Sep-18 8:19 
AnswerRe: Switching 2 Variables Pin
Dave Kreskowiak30-Sep-18 8:53
mveDave Kreskowiak30-Sep-18 8:53 
GeneralRe: Switching 2 Variables Pin
Member 1400283730-Sep-18 10:55
Member 1400283730-Sep-18 10:55 
AnswerRe: Switching 2 Variables Pin
BillWoodruff14-Oct-18 15:35
professionalBillWoodruff14-Oct-18 15:35 
QuestionFundamental misunderstanding of structs as "value" types Pin
bh_28-Sep-18 3:54
bh_28-Sep-18 3:54 
AnswerRe: Fundamental misunderstanding of structs as "value" types Pin
OriginalGriff28-Sep-18 4:12
mveOriginalGriff28-Sep-18 4:12 
GeneralRe: Fundamental misunderstanding of structs as "value" types Pin
bh_28-Sep-18 4:49
bh_28-Sep-18 4:49 
GeneralRe: Fundamental misunderstanding of structs as "value" types Pin
OriginalGriff28-Sep-18 4:55
mveOriginalGriff28-Sep-18 4:55 
Questionhow to create discussion forum in our asp.net application Pin
Member 1400092528-Sep-18 2:29
Member 1400092528-Sep-18 2:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.