Solved

App.config access to x509

Posted on 2011-09-12
1
328 Views
Last Modified: 2012-06-21
Hi all

Given x509 directory define in the App.config file below
How can I access the certificate in C# application
I have something like this :   X509SecurityToken x509Token = new X509SecurityToken(x509Certificate);
But its seems not to be working..

Thanks in Advance
<microsoft.web.services2>
		<security>
			<x509 storeLocation="LocalMachine"
				  verifyTrust="true"
				  allowTestRoot="true" />
		</security>
	</microsoft.web.services2>

Open in new window

0
Comment
Question by:ZURINET
1 Comment
 
LVL 9

Accepted Solution

by:
dexterrajesh earned 500 total points
ID: 36521948
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
C# Connection String for Oracle database is not working 22 90
This code tracks birthdays 3 59
Not showing JavaScript in the list 5 36
System.Speech 2 11
These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now