Returns a NetworkCredential object that is associated with the specified URI, and authentication type.
Assembly: System.Net (in System.Net.dll)
'Declaration Function GetCredential ( _ uri As Uri, _ authType As String _ ) As NetworkCredential
- Type: System.String
A string that specifies the type of authentication.
The method returns a NetworkCredential instance that contains the credentials that are associated with the specified URI and authorization scheme. When no credentials are available, the method returns Nothing.
The authType parameter is not currently used.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.