Tips and tricks for .NET using ASP and VB code.

Test to See if Computer is Connected to Network


If My.Computer.Network.IsAvailable = False Then
Diagnostics.Debug.WriteLine("There is no network access available at this time.")
Exit Sub
End If

No comments:

Post a Comment

Search This Blog