Well, i managed this, API expose socket, reference can be found: here
var streamSocket = new Windows.Networking.Sockets.StreamSocket();
when we create socket we get instance of StreamSocketInformation
which has ServerCertificate
property.
题
i have app in windows 8 (written using javascript and js api ver. 2.0). I have simple question if its possible to get certificate from https website and then check its fingerprint ?
i tried httpclient but it simply doesn't have option to retrive certificates ?
Thanks for any directions.
解决方案
Well, i managed this, API expose socket, reference can be found: here
var streamSocket = new Windows.Networking.Sockets.StreamSocket();
when we create socket we get instance of StreamSocketInformation
which has ServerCertificate
property.