C# Class EWUScanner.Program

Mostra file Open project: mtotheikle/EWU-OIT-SSN-Scanner

Public Properties

Property Type Description
mainUIForm MainForm
scanning bool

Public Methods

Method Description
DetermineSize ( string path ) : int
IsArchive ( string ext ) : bool
ProcessFile ( Delimon fInfo ) : void
ProcessNonArchive ( Delimon fInfo, bool parentIsArchive ) : int[][]
RunScan ( bool adminMode, List paths ) : void
ScanDirectories ( string root ) : void
ValidateExtension ( string ext ) : bool
WriteToLogFile ( string text ) : void
scanEmail ( com email ) : void

Private Methods

Method Description
CheckIfExcluded ( string usersDirectory ) : bool
Main ( ) : void
processFolder ( com folder ) : void

Method Details

DetermineSize() public static method

public static DetermineSize ( string path ) : int
path string
return int

IsArchive() public static method

public static IsArchive ( string ext ) : bool
ext string
return bool

ProcessFile() public static method

public static ProcessFile ( Delimon fInfo ) : void
fInfo Delimon
return void

ProcessNonArchive() public static method

public static ProcessNonArchive ( Delimon fInfo, bool parentIsArchive ) : int[][]
fInfo Delimon
parentIsArchive bool
return int[][]

RunScan() public static method

public static RunScan ( bool adminMode, List paths ) : void
adminMode bool
paths List
return void

ScanDirectories() public static method

public static ScanDirectories ( string root ) : void
root string
return void

ValidateExtension() public static method

public static ValidateExtension ( string ext ) : bool
ext string
return bool

WriteToLogFile() public static method

public static WriteToLogFile ( string text ) : void
text string
return void

scanEmail() public static method

public static scanEmail ( com email ) : void
email com
return void

Property Details

mainUIForm public_oe static_oe property

public static MainForm,EWUScanner mainUIForm
return MainForm

scanning public_oe static_oe property

public static bool scanning
return bool