public bool IsDangerous(string filePath)
        {
            if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
            {
                return(false);
            }

            return(InternetSecurity.IsDangerous(filePath));
        }
Exemple #2
0
        public bool IsDangerous(string filePath)
        {
            if (RuntimeEnvironment.OperatingSystemPlatform != Platform.Windows)
            {
                return(false);
            }

            return(InternetSecurity.IsDangerous(filePath));
        }
// END CUT HERE
// BEGIN CUT HERE
    public static void Main()
    {
        try {
            InternetSecurity ___test = new InternetSecurity();
            ___test.run_test(-1);
        } catch (Exception e) {
//Console.WriteLine(e.StackTrace);
            Console.WriteLine(e.ToString());
        }
    }
 // END CUT HERE
 // BEGIN CUT HERE
 public static void Main()
 {
     try {
     InternetSecurity ___test = new InternetSecurity();
     ___test.run_test(-1);
     } catch(Exception e) {
     //Console.WriteLine(e.StackTrace);
     Console.WriteLine(e.ToString());
     }
 }