Class FileSystemUtils
Inheritance
System.Object
FileSystemUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AsaLib.dll
Syntax
public static class FileSystemUtils
Fields
|
Improve this Doc
View Source
ElfMagicNumber
Declaration
public static readonly byte[] ElfMagicNumber
Field Value
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
JavaMagicNumber
Declaration
public static readonly byte[] JavaMagicNumber
Field Value
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
MacMagicNumbers
Declaration
public static readonly List<byte[]> MacMagicNumbers
Field Value
| Type |
Description |
| System.Collections.Generic.List<System.Byte[]> |
|
|
Improve this Doc
View Source
WindowsMagicNumber
Declaration
public static readonly byte[] WindowsMagicNumber
Field Value
| Type |
Description |
| System.Byte[] |
|
Methods
|
Improve this Doc
View Source
GetExecutableType(String)
Declaration
public static EXECUTABLE_TYPE GetExecutableType(string Path)
Parameters
| Type |
Name |
Description |
| System.String |
Path |
|
Returns
|
Improve this Doc
View Source
GetExecutableType(String, Stream)
Declaration
public static EXECUTABLE_TYPE GetExecutableType(string Path, Stream input)
Parameters
| Type |
Name |
Description |
| System.String |
Path |
|
| System.IO.Stream |
input |
|
Returns
|
Improve this Doc
View Source
GetFileHash(FileSystemInfo)
Declaration
public static string GetFileHash(FileSystemInfo fileInfo)
Parameters
| Type |
Name |
Description |
| System.IO.FileSystemInfo |
fileInfo |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetFileHash(String)
Declaration
public static string GetFileHash(string path)
Parameters
| Type |
Name |
Description |
| System.String |
path |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetFilePermissions(FileSystemInfo)
Declaration
public static string GetFilePermissions(FileSystemInfo fileInfo)
Parameters
| Type |
Name |
Description |
| System.IO.FileSystemInfo |
fileInfo |
|
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
GetMacSignature(String)
Declaration
public static MacSignature GetMacSignature(string Path)
Parameters
| Type |
Name |
Description |
| System.String |
Path |
|
Returns