Class FileSystemObject
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()
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class FileSystemObject : CollectObject
Constructors
| Improve this Doc View SourceFileSystemObject(String)
Declaration
public FileSystemObject(string Path)
Parameters
Type | Name | Description |
---|---|---|
System.String | Path |
Properties
| Improve this Doc View SourceCharacteristics
If this is windows executable what DLL Characteristics are set
Declaration
public List<DLLCHARACTERISTICS> Characteristics { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DLLCHARACTERISTICS> |
ContentHash
A hash of the file (if collected)
Declaration
public string ContentHash { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Created
When was the file created in UTC
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
FileType
.ToString of Mono FileTypes result. Not available on Windows.
Declaration
public string FileType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Group
The group of the file.
Declaration
public string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Identity
The File's path
Declaration
public override string Identity { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
| Improve this Doc View SourceIsDirectory
If the file is a directory
Declaration
public bool? IsDirectory { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
IsExecutable
If the file is an executable
Declaration
public bool? IsExecutable { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
IsLink
If the file is a link
Declaration
public bool? IsLink { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
LastModified
When was the file last modified in UTC
Declaration
public DateTime LastModified { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
MacSignatureStatus
Signature information for signed Mac binaries.
Declaration
public MacSignature MacSignatureStatus { get; set; }
Property Value
Type | Description |
---|---|
MacSignature |
Owner
The owner of the file.
Declaration
public string Owner { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Path
The location on disk of the file
Declaration
public string Path { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Permissions
What are the permissions of this file.
Declaration
public Dictionary<string, string> Permissions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> |
PermissionsString
A string representation of the permissions
Declaration
public string PermissionsString { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SetGid
If the SetGid bit is set
Declaration
public bool? SetGid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
SetUid
If the SetUid bit is set
Declaration
public bool? SetUid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
SignatureStatus
Signature information for signed Windows binaries.
Declaration
public Signature SignatureStatus { get; set; }
Property Value
Type | Description |
---|---|
Signature |
Size
File size in bytes
Declaration
public long? Size { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
SizeOnDisk
Declaration
public long? SizeOnDisk { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Target
If this is a link where does it point to.
Declaration
public string Target { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceShouldSerializeCharacteristics()
Declaration
public bool ShouldSerializeCharacteristics()
Returns
Type | Description |
---|---|
System.Boolean |
ShouldSerializePermissions()
Declaration
public bool ShouldSerializePermissions()
Returns
Type | Description |
---|---|
System.Boolean |