Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var stream = new FileStream(_keyLocation, FileMode.Open);
- byte[] b= new byte[stream.Length];
- stream.Read(b, 0, (int) stream.Length);
- X509Certificate certificate = new X509Certificate(b, _password);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement