HostProtectionAttribute.SecurityInfrastructure Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.