Show / Hide Table of Contents

Class FileSystemObject

Inheritance
System.Object
CollectObject
FileSystemObject
Inherited Members
CollectObject.ResultType
CollectObject.RowKey
CollectObject.Serialized
CollectObject.ShouldSerializeRowKey()
CollectObject.ShouldSerializeSerialized()
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: AttackSurfaceAnalyzer.Objects
Assembly: AsaLib.dll
Syntax
public class FileSystemObject : CollectObject

Constructors

| Improve this Doc View Source

FileSystemObject(String)

Declaration
public FileSystemObject(string Path)
Parameters
Type Name Description
System.String Path

Properties

| Improve this Doc View Source

Characteristics

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>
| Improve this Doc View Source

ContentHash

A hash of the file (if collected)

Declaration
public string ContentHash { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Created

When was the file created in UTC

Declaration
public DateTime Created { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

FileType

.ToString of Mono FileTypes result. Not available on Windows.

Declaration
public string FileType { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Group

The group of the file.

Declaration
public string Group { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Identity

The File's path

Declaration
public override string Identity { get; }
Property Value
Type Description
System.String
Overrides
CollectObject.Identity
| Improve this Doc View Source

IsDirectory

If the file is a directory

Declaration
public bool? IsDirectory { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

IsExecutable

If the file is an executable

Declaration
public bool? IsExecutable { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

IsLink

If the file is a link

Declaration
public bool? IsLink { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

LastModified

When was the file last modified in UTC

Declaration
public DateTime LastModified { get; set; }
Property Value
Type Description
System.DateTime
| Improve this Doc View Source

MacSignatureStatus

Signature information for signed Mac binaries.

Declaration
public MacSignature MacSignatureStatus { get; set; }
Property Value
Type Description
MacSignature
| Improve this Doc View Source

Owner

The owner of the file.

Declaration
public string Owner { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Path

The location on disk of the file

Declaration
public string Path { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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>
| Improve this Doc View Source

PermissionsString

A string representation of the permissions

Declaration
public string PermissionsString { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SetGid

If the SetGid bit is set

Declaration
public bool? SetGid { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

SetUid

If the SetUid bit is set

Declaration
public bool? SetUid { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>
| Improve this Doc View Source

SignatureStatus

Signature information for signed Windows binaries.

Declaration
public Signature SignatureStatus { get; set; }
Property Value
Type Description
Signature
| Improve this Doc View Source

Size

File size in bytes

Declaration
public ulong? Size { get; set; }
Property Value
Type Description
System.Nullable<System.UInt64>
| Improve this Doc View Source

SizeOnDisk

Declaration
public long SizeOnDisk { get; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

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 Source

ShouldSerializeCharacteristics()

Declaration
public bool ShouldSerializeCharacteristics()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ShouldSerializePermissions()

Declaration
public bool ShouldSerializePermissions()
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FileSystemObject(String)
  • Properties
    • Characteristics
    • ContentHash
    • Created
    • FileType
    • Group
    • Identity
    • IsDirectory
    • IsExecutable
    • IsLink
    • LastModified
    • MacSignatureStatus
    • Owner
    • Path
    • Permissions
    • PermissionsString
    • SetGid
    • SetUid
    • SignatureStatus
    • Size
    • SizeOnDisk
    • Target
  • Methods
    • ShouldSerializeCharacteristics()
    • ShouldSerializePermissions()
Back to top Generated by DocFX