Getting content/message from HttpResponseMessage

I’m trying to get content of HttpResponseMessage. It should be: {“message”:”Action ” does not exist!”,”success”:false}, but I don’t know, how to get it out of HttpResponseMessage. HttpClient httpClient = new HttpClient(); HttpResponseMessage response = await httpClient.GetAsync(“http://****?action=”); txtBlock.Text = Convert.ToString(response); //wrong! In this case txtBlock would have value: StatusCode: 200, ReasonPhrase: ‘OK’, Version: 1.1, Content: System.Net.Http.StreamContent, … Read more

Signtool error: No certificates were found that met all given criteria with a Windows Store App?

I’m trying to sign a Windows 8 appx package with a pfx file I have. I’m using a command like so: signtool.exe sign /fd sha256 /f “key.pfx” “app.appx” And from this, I get: SignTool Error: No certificates were found that met all the given criteria. What “criteria” am I not meeting? This is only for … Read more

The request was aborted: Could not create SSL/TLS secure channel

We are unable to connect to an HTTPS server using WebRequest because of this error message: The request was aborted: Could not create SSL/TLS secure channel. We know that the server doesn’t have a valid HTTPS certificate with the path used, but to bypass this issue, we use the following code that we’ve taken from … Read more

Javac is not found

As far as I can see you have the JRE in your PATH, but not the JDK. From a command prompt try this: set PATH=%PATH%;C:\Program Files (x86)\Java\jdk1.7.0_17\bin Then try javac again – if this works you’ll need to permanently modify your environment variables to have PATH include the JDK too.