Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How can i connect to the network through .net code in windows application?
i need something like below


VB
If My.Computer.Network.IsAvailable = False Then
  'Establish the connection automatically using pevious connection values       
end if 

Many thanks for your suggestions.
Posted
Updated 14-Jun-12 22:52pm
v2
Comments
Sandeep Mewara 15-Jun-12 11:44am    
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information. Elaborate on why you need it and how it is going to be used.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900