I am working on a Windows Smart Device project. I want to send a HTTPS request to a API host to retrieve information.
The current code noted in the link below works perfectly on my trial on a Windows Form application:
How do I use WebRequest to access an SSL encrypted site using https?
However, this does not work in a Smart Device application as I do not have access to System.Net.Security
on the Smart Device project (In fact there is only System.Net.Sockets
under System.Net
, rendering me unable to use the same method for queries outside of non-SSL sites.
Is there a workaround for the same solution to be able to make HTTPS requests?
EDIT: I know that Google Maps is a bad example, especially when their API keys are insecurely sent over the HTTPS GET method usually and it is better to use a server to secure the requests.