Свойство | Тип | Описание | |
---|---|---|---|
AllocateAndInitializeSecurityDescriptor | void | ||
AreFlagsSet | bool | ||
CheckIsValid | void | ||
Clear | void | ||
SecurityDescriptor | System | ||
SecurityDescriptor | System | ||
UnsafeSetDacl | void | ||
UnsafeSetGroup | void | ||
UnsafeSetOwner | void | ||
UnsafeSetSacl | void |
Метод | Описание | |
---|---|---|
GetFileSecurity ( string fileName ) : |
Return the security descriptor of a given filename
|
|
GetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : |
Return the selected components of the security descriptor of a given filename
|
|
GetKernelObjectSecurity ( |
||
GetKernelObjectSecurity ( |
Return the selected components of the security descriptor of a given kernel object handle
|
|
GetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : |
||
GetRegistryKeySecurity ( |
||
GetSecurityInfo ( |
||
MakeAbsolute ( ) : void | ||
MakeSeflRelative ( ) : void | ||
SecurityDescriptor ( ) : System |
Create an emtpy security descriptor
|
|
SetDacl ( Microsoft.Win32.Security.Dacl dacl ) : void | ||
SetDacl ( Microsoft.Win32.Security.Dacl dacl, bool defaulted ) : void | ||
SetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : void | ||
SetGroup ( Microsoft.Win32.Security.Sid group ) : void | ||
SetGroup ( Microsoft.Win32.Security.Sid group, bool defaulted ) : void | ||
SetKernelObjectSecurity ( |
||
SetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : void | ||
SetNullDacl ( bool defaulted ) : void | ||
SetOwner ( Microsoft.Win32.Security.Sid owner ) : void | ||
SetOwner ( Microsoft.Win32.Security.Sid owner, bool bDefaulted ) : void | ||
SetRegistryKeySecurity ( |
||
SetSacl ( Microsoft.Win32.Security.Sacl sacl ) : void | ||
SetSacl ( Microsoft.Win32.Security.Sacl sacl, bool defaulted ) : void | ||
SetSecurityInfo ( |
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
AllocateAndInitializeSecurityDescriptor ( ) : void | ||
AreFlagsSet ( ) : bool | ||
CheckIsValid ( ) : void | ||
Clear ( ) : void | ||
SecurityDescriptor ( |
Internal: Create a security decriptor from a pointer to unmanged memory
|
|
SecurityDescriptor ( |
||
UnsafeSetDacl ( |
||
UnsafeSetGroup ( |
||
UnsafeSetOwner ( |
||
UnsafeSetSacl ( |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public static GetFileSecurity ( string fileName ) : |
||
fileName | string | The filename |
Результат |
public static GetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : |
||
fileName | string | The filename |
secInfo | SECURITY_INFORMATION | The components of the security descriptor to return |
Результат |
public static GetKernelObjectSecurity ( |
||
handle | ||
Результат |
public static GetKernelObjectSecurity ( |
||
handle | ||
secInfo | SECURITY_INFORMATION | The components of the security descriptor to return |
Результат |
public static GetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : |
||
objectName | string | |
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
Результат |
public static GetRegistryKeySecurity ( |
||
hKey | ||
secInfo | SECURITY_INFORMATION | |
Результат |
public static GetSecurityInfo ( |
||
handle | ||
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
Результат |
public SetDacl ( Microsoft.Win32.Security.Dacl dacl ) : void | ||
dacl | Microsoft.Win32.Security.Dacl | |
Результат | void |
public SetDacl ( Microsoft.Win32.Security.Dacl dacl, bool defaulted ) : void | ||
dacl | Microsoft.Win32.Security.Dacl | |
defaulted | bool | |
Результат | void |
public SetFileSecurity ( string fileName, SECURITY_INFORMATION secInfo ) : void | ||
fileName | string | |
secInfo | SECURITY_INFORMATION | |
Результат | void |
public SetGroup ( Microsoft.Win32.Security.Sid group ) : void | ||
group | Microsoft.Win32.Security.Sid | |
Результат | void |
public SetGroup ( Microsoft.Win32.Security.Sid group, bool defaulted ) : void | ||
group | Microsoft.Win32.Security.Sid | |
defaulted | bool | |
Результат | void |
public SetKernelObjectSecurity ( |
||
handle | ||
secInfo | SECURITY_INFORMATION | |
Результат | void |
public SetNamedSecurityInfo ( string objectName, SE_OBJECT_TYPE objectType, SECURITY_INFORMATION securityInfo ) : void | ||
objectName | string | |
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
Результат | void |
public SetNullDacl ( bool defaulted ) : void | ||
defaulted | bool | |
Результат | void |
public SetOwner ( Microsoft.Win32.Security.Sid owner ) : void | ||
owner | Microsoft.Win32.Security.Sid | |
Результат | void |
public SetOwner ( Microsoft.Win32.Security.Sid owner, bool bDefaulted ) : void | ||
owner | Microsoft.Win32.Security.Sid | |
bDefaulted | bool | |
Результат | void |
public SetRegistryKeySecurity ( |
||
hKey | ||
secInfo | SECURITY_INFORMATION | |
Результат | void |
public SetSacl ( Microsoft.Win32.Security.Sacl sacl ) : void | ||
sacl | Microsoft.Win32.Security.Sacl | |
Результат | void |
public SetSacl ( Microsoft.Win32.Security.Sacl sacl, bool defaulted ) : void | ||
sacl | Microsoft.Win32.Security.Sacl | |
defaulted | bool | |
Результат | void |
public SetSecurityInfo ( |
||
handle | ||
objectType | SE_OBJECT_TYPE | |
securityInfo | SECURITY_INFORMATION | |
Результат | void |