Solved

App.config access to x509

Posted on 2011-09-12
1
327 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
Comment Utility
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
For some reason Google Apps has decided to reserve 'www' for your new domain which results in an error when trying to map the web address 'www' to a certain site in your Google Sites. The error is 'this address is already being used' and after some …
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

13 Experts available now in Live!

Get 1:1 Help Now