Show / Hide Table of Contents

Class AsaHelpers

Inheritance
System.Object
AsaHelpers
Namespace: Microsoft.CST.AttackSurfaceAnalyzer.Utils
Assembly: AsaLib.dll
Syntax
public static class AsaHelpers : object

Methods

| Improve this Doc View Source

GenerateMetadata()

Declaration
public static Dictionary<string, string> GenerateMetadata()
Returns
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

GetOsName()

Declaration
public static string GetOsName()
Returns
Type Description
System.String
| Improve this Doc View Source

GetOsVersion()

Declaration
public static string GetOsVersion()
Returns
Type Description
System.String
| Improve this Doc View Source

GetPlatform()

Declaration
public static PLATFORM GetPlatform()
Returns
Type Description
PLATFORM
| Improve this Doc View Source

GetPlatformString()

Declaration
public static string GetPlatformString()
Returns
Type Description
System.String
| Improve this Doc View Source

GetTempFolder()

Declaration
public static string GetTempFolder()
Returns
Type Description
System.String
| Improve this Doc View Source

GetVersionString()

Declaration
public static string GetVersionString()
Returns
Type Description
System.String
| Improve this Doc View Source

HexStringToBytes(String)

Declaration
public static byte[] HexStringToBytes(string hex)
Parameters
Type Name Description
System.String hex
Returns
Type Description
System.Byte[]
| Improve this Doc View Source

IsAdmin()

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

IsDictionary(Object)

Declaration
public static bool IsDictionary(object o)
Parameters
Type Name Description
System.Object o
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsList(Object)

Declaration
public static bool IsList(object o)
Parameters
Type Name Description
System.Object o
Returns
Type Description
System.Boolean
| Improve this Doc View Source

MakeValidFileName(String)

Declaration
public static string MakeValidFileName(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.String
| Improve this Doc View Source

OpenBrowser(System.Uri)

Declaration
public static void OpenBrowser(System.Uri url)
Parameters
Type Name Description
System.Uri url
| Improve this Doc View Source

RunIdsToCompareId(String, String)

Declaration
public static string RunIdsToCompareId(string firstRunId, string secondRunId)
Parameters
Type Name Description
System.String firstRunId
System.String secondRunId
Returns
Type Description
System.String
| Improve this Doc View Source

SidToName(IdentityReference)

Declaration
public static string SidToName(IdentityReference SID)
Parameters
Type Name Description
IdentityReference SID
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX