Interface IObfuscationEngine
Obfuscation engine that can obfuscate data.
Namespace: Microsoft.Graph.Communications.Common.Telemetry.Obfuscation
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public interface IObfuscationEngine
Properties
Enabled
Gets a value indicating whether obfuscation is enabled.
Declaration
bool Enabled { get; }
Property Value
Type | Description |
---|---|
Boolean |
ObfuscationConfiguration
Gets or sets the obfuscation configuration. This is also set when configuration is linked to an obfuscation engine.
Declaration
ObfuscationConfiguration ObfuscationConfiguration { get; set; }
Property Value
Type | Description |
---|---|
ObfuscationConfiguration |
Methods
Obfuscate(Object, ObfuscationTag)
Obfuscates the specified payload.
Declaration
string Obfuscate(object payload, ObfuscationTag obfuscationTag)
Parameters
Type | Name | Description |
---|---|---|
Object | payload | The payload. |
ObfuscationTag | obfuscationTag | The obfuscation tag. |
Returns
Type | Description |
---|---|
String | Obfuscated data. |