C# Class DfBAdminToolkit.Common.Utils.FileUtil

Afficher le fichier Open project: dropbox/DropboxBusinessAdminTool

Méthodes publiques

Méthode 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 méthode

public static EncryptAppSettings ( string section ) : void
section string
Résultat void

FormatFileSize() public static méthode

public static FormatFileSize ( long size ) : string
size long
Résultat string

FormatFileSizeMB() public static méthode

public static FormatFileSizeMB ( decimal size ) : decimal
size decimal
Résultat decimal

GetAppPath() public static méthode

public static GetAppPath ( ) : string
Résultat string

ResetConfigMechanism() public static méthode

public static ResetConfigMechanism ( ) : void
Résultat void

TokenCheck() public static méthode

public static TokenCheck ( ) : bool
Résultat bool

UpdateKey() public static méthode

public static UpdateKey ( string keyName, string newValue ) : void
keyName string
newValue string
Résultat void