Skip to main content

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

FileIntelClient

File 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.

required parameters

FileHashReputationRequest

FileHashReputationRequest with the hash of the file to be looked up

Response Object

Task<Response<FileReputationResult>>

Response<FileReputationResult>

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.

required parameters

FileHashReputationBulkRequest

FileHashReputationBulkRequest with the hash file list to be looked up

Response Object

Task<Response<FileReputationBulkResult>>

Response<FileReputationBulkResult>

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);