Name
NetworkCredential
Synopsis
This class is an implementation of ICredentials
for authentication schemes that use passwords, such as basic and
digest authentication, NTLM, and Kerberos. See CredentialCache
for more details.
Public Class NetworkCredential : Implements ICredentials ' Public Constructors Public Sub New() Public Sub New(ByVal userName As String, ByVal password As String) Public Sub New(ByVal userName As String, ByVal password As String, ByVal domain As String) ' Public Instance Properties Public Property Domain As String Public Property Password As String Public Property UserName As String ' Public Instance Methods Public Function GetCredential(ByVal uri As Uri, ByVal authType As String) As NetworkCredential Implements ICredentials.GetCredential End Class
Returned By
CredentialCache.GetCredential()
, ICredentials.GetCredential()
Passed To
CredentialCache.Add()
Get VB.NET Core Classes in a Nutshell 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.