Mono Class Library: System.Net.Authorization Overview | MembersSystem.Net.Authorization Constructor |
Constructs and initializes a new instance of the System.Net.Authorization class with the specified authorization message, completion status, and connection group identifier. [Edit]
|
This constructor creates a System.Net.Authorization instance with the Authorization.Message property set to token, the Authorization.Complete property set to finished, and the Authorization.ConnectionGroupId property set to connectionGroupId. If token is null or a zero-length string, Authorization.Message is set to null. If connectionGroupId is null or a zero-length string, Authorization.ConnectionGroupId is set to null.
Note:[Edit]The connection group identifier is used to restrict access to the server connection established with the current authorization instance. Only System.Net.WebRequest instances that have connectionGroupId as their WebRequest.ConnectionGroupName property value can use the connection. The connection group information set by this constructor is also available in the ServicePoint.ConnectionName property of the service point that represents the connection.
The Authorization.Complete property indicates whether the authentication, as defined by the authentication protocol implemented by the caller, is finished or requires additional information exchange between the client and server.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0