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))); } }
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)); } }