示例#1
0
 public static void ExtractEncodingFile(string[] args)
 {
     Directory.CreateDirectory(KeyFilesDir);
     using (BinaryReader reader = CASC.OpenEncodingKeyFile()) {
         using (Stream file = File.OpenWrite(Path.Combine(KeyFilesDir, "encoding"))) {
             reader.BaseStream.CopyTo(file);
         }
     }
 }