C# Class DfBAdminToolkit.Common.Utils.FileUtil

Exibir arquivo Open project: dropbox/DropboxBusinessAdminTool

Public Methods

Method Description
EncryptAppSettings ( string section ) : void
FormatFileSize ( long size ) : string
FormatFileSizeMB ( decimal size ) : decimal
GetAppPath ( ) : string
ResetConfigMechanism ( ) : void
TokenCheck ( ) : bool
UpdateKey ( string keyName, string newValue ) : void

Method Details

EncryptAppSettings() public static method

public static EncryptAppSettings ( string section ) : void
section string
return void

FormatFileSize() public static method

public static FormatFileSize ( long size ) : string
size long
return string

FormatFileSizeMB() public static method

public static FormatFileSizeMB ( decimal size ) : decimal
size decimal
return decimal

GetAppPath() public static method

public static GetAppPath ( ) : string
return string

ResetConfigMechanism() public static method

public static ResetConfigMechanism ( ) : void
return void

TokenCheck() public static method

public static TokenCheck ( ) : bool
return bool

UpdateKey() public static method

public static UpdateKey ( string keyName, string newValue ) : void
keyName string
newValue string
return void