Class AllowedAssembly
- Namespace
- CodeStage.AntiCheat.EditorCode
- Assembly
- Build.dll
Describes assembly which is added to the InjectionDetector "white list".
[Serializable]
public class AllowedAssembly
- Inheritance
-
objectAllowedAssembly
Constructors
AllowedAssembly(string, int[])
Constructs new instance.
public AllowedAssembly(string name, int[] hashes)
Parameters
namestringSets Name property.
hashesint[]Sets Hashes property.
Properties
Hashes
Array of whitelisted hashes for the assembly with given Name.
public int[] Hashes { get; }
Property Value
- int[]
Name
Assembly name, i.e.: ACTk.Runtime.
public string Name { get; }
Property Value
- string
Methods
AddHash(int)
Allows adding new hash to the Hashes collection.
public bool AddHash(int hash)
Parameters
hashintNew whitelisted hash for the assembly with specified Name.
Returns
- bool
True if hash was added and false otherwise (i.e. when hash already existed in the collection).
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.