Ayeayeron
Ayeayeron

Reputation: 459

How can I communicate over a PPP connection in a C# application?

I've used a PPP connection before using pppd in linux, but now I need to communicate with hardware via a PPP connection from a C# application and I'm new to .net. Is there a way I can open a PPP connection from within the application and set the baud rate, port and route some IP addresses to use the PPP connection? If this can't be done from within the application then I'd also like to know how those steps could be done in windows 7.

Upvotes: 3

Views: 6060

Answers (2)

Wasyl
Wasyl

Reputation: 16

This answer might help you out with configuring PPP in Windows 7.

https://stackoverflow.com/a/7085259/512910

Upvotes: 0

Steve C
Steve C

Reputation: 647

Windows calls it "Dialup networking". You are looking for the rasdial function.

Upvotes: 1

Related Questions