Network Remote VB.Net

Imports System.Text.RegularExpressions
Imports System.Net
Module Example
   Public Sub Main()
        Dim myWebPermission1 As New WebPermission()
        myWebPermission1.AddPermission(NetworkAccess.Connect, "http://www.domain.com/default.htm")
        myWebPermission1.AddPermission(NetworkAccess.Connect, "http://www.domain.com/default.htm")
        
        myWebPermission1.Demand()
   End Sub
End Module