Recurity.Blitzableiter.Program.ScanDir C# (CSharp) Method

ScanDir() private static method

Scans a directory with swf files and replaces them with scanned files
private static ScanDir ( string s, bool b ) : void
s string The input directory
b bool If a recursive scan is desired
return void
        private static void ScanDir(string s, bool b)
        {
            String[] flashFiles = Directory.GetFiles(s, "*.swf", b ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly);

            foreach (string flashFile in flashFiles)
            {
                ScanSingle(flashFile);
            }
        }

Same methods

Program::ScanDir ( string s1, string s2, bool b ) : void