473,326 Members | 2,048 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

cast from WebService.RSAParameters

I'm going to use WebMethod GetRSAParameters in my c# application which
returns RSAParameters object. But when I'm trying too include
System.Secrity.Cryptography namespace and when I'm writing something like
this:

RSACryptoserviceProvider rsa = new RSACryptoServiceProvider();

RSAParameters params = webService.GetRSAParameters();

compiler complains that reference to RSAParameters is ambiguous. When I'm
trying to use fully qualified names and cast from WebService.RSAParameters
to System.Security.Cryptography.RSAParameters, casting fails.

How can I manage with this problem.

Thanks for any help!!!
Nov 19 '05 #1
0 873

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Eric | last post by:
Hello, I am wanting to serialize (for storage of an RSA Keypair) a RSAParameters class. It seems that even if i export the private portions of the Key, they are never serialized and stored in...
6
by: Davie | last post by:
I want to authorise a user of a web service by using the AuthHeaderValue for some reason I keep getting a null reference exception when I try to run the following code: It seems to work fine on a...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
0
by: tam2005 via DotNetMonster.com | last post by:
I'm going to use WebMethod GetRSAParameters in my c# application which returns RSAParameters object. But when I'm trying too include System.Secrity.Cryptography namespace and when I'm writing...
2
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2...
3
by: LT_Hassan | last post by:
This is only a model program, because it would take too long to demonstrate the real solution. Anyway, I have 3 projects - ClassLibrary1, ConsoleApplication1 and WebSite1 (which hosts webservice)....
1
by: Rahul | last post by:
I am getting following error: 1) For a xml file "Request.xml" we created a schema "Request.xsd". 2) With the help of xsd.exe we got the C# file Request.cs. 3) We tried to send the object of...
1
by: SammyBar | last post by:
Hi all, I need to fill a System.Security.Cryptography.RSAParameters structure with my private key parameters. The private key is in PEM format so by using openssl I can obtain all the...
1
by: dearprasan | last post by:
Hi, I am making a call to a asynchronous call to a webservice using callback. Before I make the asynchronous call, I am allowed to make the following cast: IHTMLDocument2 doc = (IHTMLDocument2)...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.