Retrieves the credentials for the entry.
Namespace: DotRas
Assembly: DotRas (in DotRas.dll) Version: 1.3.5166.33435 (1.3.0.0)
Syntax
C# |
---|
public NetworkCredential GetCredentials() |
Visual Basic |
---|
Public Function GetCredentials As NetworkCredential |
Visual C++ |
---|
public:
NetworkCredential^ GetCredentials() |
F# |
---|
member GetCredentials : unit -> NetworkCredential
|
Return Value
Type:
NetworkCredentialThe credentials stored in the entry, otherwise a null reference (
Nothing in Visual Basic) if the credentials did not exist.
Exceptions
See Also