User Intel | C# SDK
User Intel
UserIntelClientUser Intel client.
var config = new Config("pangea_token", "pangea_domain");
var builder = new UserIntelClient.Builder(config);
var client = builder.Build();
Look up breached users
UserIntelClient.Breached(UserBreachedRequest)Determine if an email address, username, phone number, or IP address was exposed in a security breach.
var request = new UserBreachedRequest.Builder()
.WithPhoneNumber("8005550123")
.WithProvider("spycloud")
.Build();
var response = await client.Breached(request);
Look up breached users V2
UserIntelClient.BreachedBulk(UserBreachedBulkRequest)Determine if an email address, username, phone number, or IP address was exposed in a security breach.
string[] phoneNumbers = new string[1] {"8005550123"};
var request = new UserBreachedBulkRequest.Builder()
.WithPhoneNumbers(phoneNumbers)
.WithProvider("spycloud")
.Build();
var response = await client.BreachedBulk(request);
Look up breached passwords
UserIntelClient.Breached(UserPasswordBreachedRequest)Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.
var request = new UserPasswordBreachedRequest.Builder(
HashType.SHA256,
"5baa6")
.WithProvider("spycloud")
.Build();
var response = await client.Breached(request);
Look up breached passwords V2
UserIntelClient.BreachedBulk(UserPasswordBreachedBulkRequest)Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.
string[] hashPrefixes = new string[1] {"5baa6"};
var request = new UserPasswordBreachedBulkRequest.Builder(
HashType.SHA256,
hashPrefixes)
.WithProvider("spycloud")
.Build();
var response = await client.BreachedBulk(request);