Skip to main content

File Scan | Java SDK

Scan

scan(FileScanRequest request, File file)

Scan a file for malicious content.

required parameters

FileScanRequest
File

Response Object

FileScanResponse

FileScanResponse

 File file = new File("./path/to/file.pdf");

 FileScanResponse response = client.scan(
 	new FileScanRequest.Builder().provider("crowdstrike")
 		.raw(true)
 		.build(),
 	file);