AI Guard | C# SDK
Data Guard
DataGuardClientData Guard API client.
var config = new Config("pangea_token", "pangea_domain");
var builder = new DataGuardClient.Builder(config);
var client = builder.Build();
Text guard (Beta)
DataGuardClient.GuardText(TextGuardRequest, CancellationToken)Guard text.
var response = await client.GuardText(new TextGuardRequest("hello world"));
File guard (Beta)
DataGuardClient.GuardFile(FileGuardRequest, CancellationToken)Guard file.
var response = await client.GuardFile(new FileGuardRequest("https://pangea.cloud/robots.txt"));