Example #1
0
 protected byte[] GenerateCode(string inputFileName, string inputFileContent)
 {
     using (System.IO.FileStream stream = System.IO.File.Open(inputFileName, FileMode.Open, FileAccess.Read))
     {
         GenerateCode gc
             = new GenerateCode();
         return(StreamToBytes(gc.Builder(stream)));
     }
 }
Example #2
0
 protected byte[] GenerateCode(string inputFileName, string inputFileContent)
 {
     using (System.IO.FileStream stream =System.IO.File.Open(inputFileName, FileMode.Open, FileAccess.Read))
     {
       GenerateCode gc
              = new GenerateCode();
         return StreamToBytes(gc.Builder(stream));
     }
    
 }