C# Class GXDLMS.ManufacturerSettings.GXFileInfo

ファイルを表示 Open project: Gurux/Gurux.DLMS.Net Class Usage Examples

Public Methods

Method Description
UpdateFileSecurity ( string filePath ) : void

Opens up file access for Everyone at FullAccess.

Private Methods

Method Description
CloseHandle ( IntPtr hObject ) : bool
GetCurrentProcess ( ) : IntPtr
GetProcAddress ( IntPtr hmodule, string procName ) : IntPtr
GetTokenInformation ( IntPtr TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, IntPtr TokenInformation, uint TokenInformationLength, uint &ReturnLength ) : bool
IsElevated ( ) : bool
IsReallyVista ( ) : bool
LoadLibrary ( string lpFileName ) : IntPtr
OpenProcessToken ( IntPtr ProcessHandle, UInt32 DesiredAccess, IntPtr &TokenHandle ) : bool

Method Details

UpdateFileSecurity() public static method

Opens up file access for Everyone at FullAccess.
public static UpdateFileSecurity ( string filePath ) : void
filePath string
return void