Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan a File without Storing file into disk #45

Closed
fire-cloud-apps opened this issue May 31, 2021 · 2 comments
Closed

Scan a File without Storing file into disk #45

fire-cloud-apps opened this issue May 31, 2021 · 2 comments

Comments

@fire-cloud-apps
Copy link

I want to scan a file, without storing the same on the disk.

As you know that the file which we are plan to scan, which may be vulnerable to attack, if we store the same there might be a chance of trigger.

Hence trying to avoid it and exploring an option to scan the file in memory as a stream.
Is that possible?

Thanks

@tekmaven
Copy link
Owner

You can use ClamClient.SendAndScanFileAsync which has overloads for a byte array or stream.

@fire-cloud-apps
Copy link
Author

Thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants