private void Save(string filename, X509Extension ext) { using (FileStream fs = File.OpenWrite(filename)) { byte[] raw = ext.GetBytes(); fs.Write(raw, 0, raw.Length); fs.Close(); } }
private void Save(string filename, X509Extension ext) { using (FileStream fs = File.OpenWrite(filename)) { byte[] raw = ext.GetBytes(); fs.Write(raw, 0, raw.Length); fs.Close(); } }