WebRequest.Create Method (String)
Initializes a new WebRequest instance for the specified URI scheme.
Assembly: System.Net (in System.Net.dll)
The request scheme specified in requestUriString has not been registered.
requestUriString is null.
The caller does not have permission to connect to the requested URI or a URI that the request is redirected to.
The URI specified in requestUriString is not a valid URI.
The method returns a descendant of the WebRequest class determined at run time as the closest registered match for requestUri.
Silverlight for Windows PhoneIf you attempt to access a file from an FTP site, the application throws NullRefrenceException instead of NotSupportedException.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.