Click here to Skip to main content
15,902,447 members
Home / Discussions / C#
   

C#

 
Questionimage processing program using c# Pin
Member 1083976523-May-14 6:08
Member 1083976523-May-14 6:08 
AnswerRe: image processing program using c# Pin
OriginalGriff23-May-14 6:13
mveOriginalGriff23-May-14 6:13 
AnswerRe: image processing program using c# Pin
Richard MacCutchan23-May-14 6:18
mveRichard MacCutchan23-May-14 6:18 
QuestionRe: image processing program using c# Pin
Kenneth Haugland24-May-14 2:58
mvaKenneth Haugland24-May-14 2:58 
JokeRe: image processing program using c# Pin
Brien Dev26-May-14 11:28
Brien Dev26-May-14 11:28 
QuestionOut of interest, how many of you have used SecureString for passwords? Pin
Rob Philpott23-May-14 4:24
Rob Philpott23-May-14 4:24 
AnswerRe: Out of interest, how many of you have used SecureString for passwords? Pin
Eddy Vluggen23-May-14 5:13
professionalEddy Vluggen23-May-14 5:13 
AnswerRe: Out of interest, how many of you have used SecureString for passwords? Pin
Gilbert Consellado24-May-14 0:20
professionalGilbert Consellado24-May-14 0:20 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
harold aptroot24-May-14 2:05
harold aptroot24-May-14 2:05 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
Gilbert Consellado24-May-14 2:23
professionalGilbert Consellado24-May-14 2:23 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
harold aptroot24-May-14 3:00
harold aptroot24-May-14 3:00 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
Gilbert Consellado27-May-14 3:38
professionalGilbert Consellado27-May-14 3:38 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
harold aptroot27-May-14 4:48
harold aptroot27-May-14 4:48 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
Eddy Vluggen25-May-14 2:44
professionalEddy Vluggen25-May-14 2:44 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
Gilbert Consellado27-May-14 3:40
professionalGilbert Consellado27-May-14 3:40 
GeneralRe: Out of interest, how many of you have used SecureString for passwords? Pin
Eddy Vluggen27-May-14 7:41
professionalEddy Vluggen27-May-14 7:41 
AnswerRe: Out of interest, how many of you have used SecureString for passwords? Pin
BobJanova27-May-14 2:54
BobJanova27-May-14 2:54 
QuestionUser Logon for Windows Applications Best Practices Pin
Aaron Hartley23-May-14 3:56
Aaron Hartley23-May-14 3:56 
AnswerRe: User Logon for Windows Applications Best Practices Pin
Rob Philpott23-May-14 4:22
Rob Philpott23-May-14 4:22 
AnswerRe: User Logon for Windows Applications Best Practices Pin
Eddy Vluggen23-May-14 5:16
professionalEddy Vluggen23-May-14 5:16 
GeneralRe: User Logon for Windows Applications Best Practices Pin
Aaron Hartley23-May-14 6:52
Aaron Hartley23-May-14 6:52 
GeneralRe: User Logon for Windows Applications Best Practices Pin
Eddy Vluggen23-May-14 7:19
professionalEddy Vluggen23-May-14 7:19 
QuestionHow to make a REST request with certificate, private key and password in C#? Pin
rune00723-May-14 0:50
rune00723-May-14 0:50 
Hi we are trying to make a GET request against a REST API of a partner company.

In collaboration with the partner company we have produced the necessary ingredients, but we don't know how to put them together?
This is what we have:

- URL: The URL of the partner REST API
- PRIVATE KEY: privateKey.key
- CERTIFICATE: certificate.pem
- PASSWORD: We have defined some passwords.

We have tried to open the .key and the .pem files with Notepad, and the text there is readable, and goes like:

privateKey.key:
-----BEGIN PRIVATE KEY-----
MIIEvAIBA
(...)
6xz6tGWWdkR4uw==
-----END PRIVATE KEY-----

certificate.pem
-----BEGIN CERTIFICATE-----
MIIEbDCCA (...)
QmliDutXh/BjT0=
-----END CERTIFICATE-----

We are wondering how to make a REST request with these things in C#?
We have been wondering if the PRIVATE KEY and the CERTIFICATE should be converted into another file?
So with OpenSSL, running the command below, we tried to convert those two files into a .pfx file:
openssl pkcs12 -export -out domain.name.pfx -inkey domain.name.key -in domain.name.crt
The resulting .pfx file was not human readable, it was like: " ‚h‚d0‚`0‚ *†H†÷ (...)".
To make the REST GET request is it then necessary to install the certificate?
As you may understand from this post we are quite ignorant on the subject of making a request with certificate, private key and password in C#, looking for some help.
There are many questions and we actually don't know exactly what to do.
QuestionResizing a Picture Pin
megha_p22-May-14 23:22
megha_p22-May-14 23:22 
AnswerRe: Resizing a Picture Pin
OriginalGriff23-May-14 0:05
mveOriginalGriff23-May-14 0:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.