File Intel | C# SDK
The File Intel service enables you to submit a file's hash and get the file's attributes back - giving you insight into the disposition of the file.
File Intel
FileIntelClientFile Intel client.
var config = new Config("pangea_token", "pangea_domain");
var builder = new FileIntelClient.Builder(config);
var client = builder.Build();
Reputation
FileIntelClient.Reputation(FileHashReputationRequest)Retrieve a reputation score for a file hash from a provider, including an optional detailed report.
var request = new FileHashReputationRequest.Builder(
"142b638c6a60b60c7f9928da4fb85a5a8e1422a9ffdc9ee49e17e56ccca9cf6e",
"sha256")
.WithProvider("reversinglabs")
.WithVerbose(false)
.WithRaw(false)
.Build();
var response = await client.Reputation(request);
Reputation V2
FileIntelClient.ReputationBulk(FileHashReputationBulkRequest)Retrieve reputation scores for a list of file hashes, from a provider, including an optional detailed report.
string[] hashes = new string[1] {"142b638c6a60b60c7f9928da4fb85a5a8e1422a9ffdc9ee49e17e56ccca9cf6e"};
var request = new FileHashReputationBulkRequest.Builder(hashes, "sha256")
.WithProvider("reversinglabs")
.WithVerbose(false)
.WithRaw(false)
.Build();
var response = await client.ReputationBulk(request);