I keep getting this error when i try to use SendAndScanFileAsync "C:\KJ\Work\GEP Demos\CloudMersive Virus Scan Demo\CloudMersiveDemo\bin\Debug\netcoreapp3.1\CloudMersiveDemo.exe (process 22096) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . ."
This is my code. var clam = new ClamClient("localhost", 3310); var fileBytes = File.ReadAllBytes("C:\\Users\\Karthik.Iyer\\Desktop\\sample_large_pdf\\A17_FlightPlan.pdf"); var scanResult = await clam.SendAndScanFileAsync(fileBytes); switch (scanResult.Result) { case ClamScanResults.Clean: Console.WriteLine("The file is clean!"); break; case ClamScanResults.VirusDetected: Console.WriteLine("Virus Found!"); Console.WriteLine("Virus name: {0}", scanResult.InfectedFiles.First().VirusName); break; case ClamScanResults.Error: Console.WriteLine("Woah an error occured! Error: {0}", scanResult.RawResult); break; } Any ideas ? Thanks Karthik On Mon, Jun 7, 2021 at 3:34 PM Joel Esler (jesler) <jes...@cisco.com> wrote: > There’s no cost for use in the Enterprise. There is no support offering > for ClamAV other than these mailing lists. > > Sent from my iPhone > > On Jun 7, 2021, at 16:30, Karthik Iyer via clamav-users < > clamav-users@lists.clamav.net> wrote: > > > Hi , > > We would like to use ClamAV for scanning files in our blob storage and > would like to know the cost and the kind of support at the enterprise level. > > Whom could I reach out for the cost as well as what would be the > enterprise support for this ? > > Is there a phone number I can call to ask ? > > Also can you provide me with some samples for running ClamAV on .NET > Core 3.1 ? > > > > Thanks. > > Karthik > > _______________________________________________ > > clamav-users mailing list > clamav-users@lists.clamav.net > https://lists.clamav.net/mailman/listinfo/clamav-users > > > Help us build a comprehensive ClamAV guide: > https://github.com/vrtadmin/clamav-faq > > http://www.clamav.net/contact.html#ml > >
_______________________________________________ clamav-users mailing list clamav-users@lists.clamav.net https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml