1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
|
<Type Name="NetworkCredential" FullName="System.Net.NetworkCredential" FullNameSP="System_Net_NetworkCredential" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public NetworkCredential extends System.Object implements System.Net.ICredentials" />
<TypeSignature Language="C#" Value="public class NetworkCredential : ICredentials" />
<MemberOfLibrary>Networking</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>System</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.x.x</AssemblyVersion>
<AssemblyCulture>none</AssemblyCulture>
<Attributes>
<Attribute>
<AttributeName>CLSCompliantAttribute(true)</AttributeName>
<Excluded>0</Excluded>
</Attribute>
</Attributes>
</AssemblyInfo>
<ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
<Docs>
<summary>
<para> Provides credentials for password-based authentication.</para>
</summary>
<remarks>
<para>The <see cref="T:System.Net.NetworkCredential" /> class supplies
client credentials used in password-based authentication schemes such as
Kerberos. </para>
<block subset="none" type="note">
<para>
Classes that implement
the <see cref="T:System.Net.ICredentials" /> interface, such as
the <see cref="T:System.Net.CredentialCache" /> class, return <see cref="T:System.Net.NetworkCredential" /> instances. </para>
<para>This class does not support public key-based authentication
methods such as SSL client authentication.</para>
</block>
</remarks>
</Docs>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.Net.ICredentials</InterfaceName>
<Excluded>0</Excluded>
</Interface>
</Interfaces>
<Members>
<Member MemberName="GetCredential">
<MemberSignature Language="ILASM" Value=".method public final hidebysig virtual class System.Net.NetworkCredential GetCredential(class System.Uri uri, string authType)" />
<MemberSignature Language="C#" Value="public NetworkCredential GetCredential(Uri uri, string authType);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Net.NetworkCredential</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="uri" Type="System.Uri" />
<Parameter Name="authType" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para> Returns the
current instance.</para>
</summary>
<param name="uri">A <see cref="T:System.Uri" /> representing the resource for which the client is to be authenticated.</param>
<param name="authType">A <see cref="T:System.String" /> containing the <see cref="P:System.Net.IAuthenticationModule.AuthenticationType" /> of the <see cref="T:System.Net.IAuthenticationModule" /> that will receive the credentials returned by this method.</param>
<returns>
<para>The current <see cref="T:System.Net.NetworkCredential" /> instance.</para>
</returns>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="public NetworkCredential();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Net.NetworkCredential" /> class.</para>
</summary>
<remarks>
<para> The properties of the new <see cref="T:System.Net.NetworkCredential" /> instance are initialized to
<see langword="null" />
.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string userName, string password)" />
<MemberSignature Language="C#" Value="public NetworkCredential(string userName, string password);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="userName" Type="System.String" />
<Parameter Name="password" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Net.NetworkCredential" /> class with the specified user name and password.</para>
</summary>
<param name="userName">A <see cref="T:System.String" /> containing the user name for the account associated with the credentials.</param>
<param name="password">A <see cref="T:System.String" /> containing the password for the account associated with the credentials.</param>
<remarks>
<para>This constructor initializes the <see cref="P:System.Net.NetworkCredential.UserName" /> property of the new instance to <paramref name="userName " />and the <see cref="P:System.Net.NetworkCredential.Password" /> property to <paramref name="password" />. The <see cref="P:System.Net.NetworkCredential.Domain" /> property is initialized to <see cref="F:System.String.Empty" />. The values specified for <paramref name="userName" /> and
<paramref name="password" /> are passed through to the operating system without
modification.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string userName, string password, string domain)" />
<MemberSignature Language="C#" Value="public NetworkCredential(string userName, string password, string domain);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="userName" Type="System.String" />
<Parameter Name="password" Type="System.String" />
<Parameter Name="domain" Type="System.String" />
</Parameters>
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Net.NetworkCredential" /> class
with the specified user name, password, and domain.</para>
</summary>
<param name="userName">A <see cref="T:System.String" /> containing the user name associated with the credentials.</param>
<param name="password">A <see cref="T:System.String" /> containing the password for the user name associated with the credentials.</param>
<param name="domain">A <see cref="T:System.String" /> containing the domain associated with the credentials.</param>
<remarks>
<para> This constructor initializes the <see cref="P:System.Net.NetworkCredential.UserName" /> property of the new instance
to <paramref name="userName" />, the <see cref="P:System.Net.NetworkCredential.Password" /> property to <paramref name="password" />,
and the <see cref="P:System.Net.NetworkCredential.Domain" /> property to <paramref name="domain" />. The values specified for <paramref name="userName, " /><paramref name="password" /> and <paramref name="domain" /> are passed through to the
operating system without modification.</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="UserName">
<MemberSignature Language="ILASM" Value=".property string UserName { public hidebysig specialname instance string get_UserName() public hidebysig specialname instance void set_UserName(string value) }" />
<MemberSignature Language="C#" Value="public string UserName { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the user name for the account associated with the current credentials.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> containing the
user name for the account associated with the current credentials.</para>
</value>
<permission cref="T:System.Security.Permissions.EnvironmentPermission">Requires read access to the environment variable that contains the user name. See <see cref="F:System.Security.Permissions.EnvironmentPermissionAccess.Read" />.</permission>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Password">
<MemberSignature Language="ILASM" Value=".property string Password { public hidebysig specialname instance string get_Password() public hidebysig specialname instance void set_Password(string value) }" />
<MemberSignature Language="C#" Value="public string Password { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Gets or sets the password of the account associated with the current credentials.</para>
</summary>
<value>
<para> A <see cref="T:System.String" /> containing the
password of the account associated with the current credentials.</para>
</value>
<permission cref="T:System.Security.Permissions.SecurityPermission">Requires permission to execute unmanaged code. See <see cref="F:System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode" />.</permission>
</Docs>
<Excluded>0</Excluded>
</Member>
<Member MemberName="Domain">
<MemberSignature Language="ILASM" Value=".property string Domain { public hidebysig specialname instance string get_Domain() public hidebysig specialname instance void set_Domain(string value) }" />
<MemberSignature Language="C#" Value="public string Domain { get; set; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Gets or sets the domain
or machine name that verifies the current credentials.</para>
</summary>
<value>
<para>A <see cref="T:System.String" /> containing the
name of the domain that verifies the current credentials.</para>
</value>
<remarks>
<para>The <see cref="P:System.Net.NetworkCredential.Domain" /> property indicates the domain or
realm to which the account belongs. <block subset="none" type="note">Typically, this is the host machine name where the application
executes or the user domain for the currently logged in user.</block></para>
</remarks>
<permission cref="T:System.Security.Permissions.EnvironmentPermission">Requires read access to the environment variable that contains the domain name. See <see cref="F:System.Security.Permissions.EnvironmentPermissionAccess.Read" />.</permission>
</Docs>
<Excluded>0</Excluded>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
</Type>
|