ProcessModelSection.ComAuthenticationLevel Property
.NET Framework (current version)
Gets or sets a value indicating the level of authentication for DCOM security.
Assembly: System.Web (in System.Web.dll)
[ConfigurationPropertyAttribute("comAuthenticationLevel", DefaultValue = ProcessModelComAuthenticationLevel.Connect)] public ProcessModelComAuthenticationLevel ComAuthenticationLevel { get; set; }
Property Value
Type: System.Web.Configuration.ProcessModelComAuthenticationLevelOne of the ProcessModelComAuthenticationLevel values. The default value is Connect.
When this property value is set to Default, DCOM determines the authentication level using its normal security-negotiation algorithm. The default value assigned to this property, as specified in the Machine.config file, is Connect. In this case, DCOM authenticates the credentials of the client only when the client establishes a relationship with the server.
The following code example shows how to access the ComAuthenticationLevel property.
// Get the current ComAuthenticationLevel property value. ProcessModelComAuthenticationLevel comAuthLevel = processModelSection.ComAuthenticationLevel; // Set the ComAuthenticationLevel property to // ProcessModelComAuthenticationLevel.Call. processModelSection.ComAuthenticationLevel = ProcessModelComAuthenticationLevel.Call;
.NET Framework
Available since 2.0
Available since 2.0
Show: