4.5. Helper classes
The System namespace contains two helper classes – the Uri and UriBuilder classes. These can be used to manipulate the contents of URIs. The Uri class provides easy access to the parts of the URI. The properties of the Uri class are read only – to modify a Uri class instance we should use the UriBuilder class.
The Uri class contains the following read-only String-type fields that specify the characters and schemes.
SchemeDelimiter Specifies the characters that separate the communication protocol scheme from the address portion of the URI.
UriSchemeFile Specifies that the URI is a pointer to a file.
UriSchemeFtp Specifies that the URI is accessed via the file transfer protocol (FTP).
UriSchemeGopher Specifies that the URI ...
Get A Programmer's Guide to .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.