Uri.UriSchemeNntp Field specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol : URI « Network Remote « VB.Net
Uri.UriSchemeNntp Field specifies that the URI is an Internet news group and is accessed through the Network News Transport Protocol
Imports System.IO
Imports System.Net
Imports System.Text
publicclass MainClass
Shared Sub Main()
Dim address5 As New Uri("nntp://news.yourDomain.com/123456@yourDomain.com")
If address5.Scheme = Uri.UriSchemeNntp Then
Console.WriteLine("Uri is nntp protocol")
End If
End Sub
End Class