Edit

Share via


HostProtectionAttribute.SecurityInfrastructure Property

Definition

Gets or sets a value indicating whether the security infrastructure is exposed.

public:
 property bool SecurityInfrastructure { bool get(); void set(bool value); };
public bool SecurityInfrastructure { get; set; }
[System.Runtime.InteropServices.ComVisible(true)]
public bool SecurityInfrastructure { get; set; }
member this.SecurityInfrastructure : bool with get, set
[<System.Runtime.InteropServices.ComVisible(true)>]
member this.SecurityInfrastructure : bool with get, set
Public Property SecurityInfrastructure As Boolean

Property Value

true if the security infrastructure is exposed; otherwise, false. The default is false.

Attributes

Remarks

The use of a WindowsIdentity object to impersonate a user is an example of exposing the security infrastructure.

Applies to

See also