Reputation: 1282
I'm new with C# and I need some implementation example to do the following interactions with telnet commands/protocol
Describing in details the bellow steps
telnet 11.11.11.1 0000
Get https://11.11.11.1:0000/httpgw.conf?Type=SMS&Address=12345678&MsgID=12 3&Notify=N&Validity=24:00&OAdC=15555&Message=HelloBrother HTTP/1.1
^: exit
It's possible to use only the standard library or will be needed some custom package/library to do this?
Upvotes: 0
Views: 875
Reputation: 141
I see you want to do HTTP requests. For this you can use the RestSharp library that comes in the Nuget packages. Here is the link to an example on how to use RestSharp.
RestSharp simple complete example
Upvotes: 1