473,473 Members | 1,583 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

What is HCRYPTPROV in C#

3 New Member
I'm trying to port an application from C++ to C# and encountered this..., I'm not really sure what it does and wanted to translate it correctly. Anyone know what it does?
Sep 1 '10 #1
1 3091
mzmishra
390 Recognized Expert Contributor
I know HCRYPTPROV is one of the Cryptography Data Type,which specifies a handle to a CryptoAPI CSP.
Not sure what is in c# for this
Sep 2 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Dieter Schmitz | last post by:
Hi, I wrote a VB-Dll which uses the CryptAcquireContext function in the advapi32.dll. This works fine with VB, but when I use the same Dll in ASP the error number 0x800A0002 was returned when...
0
by: Cory Baker | last post by:
Hi all! I am trying to encrypt data with C# and decrypt the same data using VC++ 6, both using a password. I believe that I am very close on this one but am currently stuck and am receiving...
2
by: PawelR | last post by:
Hello Group, I've keygenerator in C# with function: int GetHash(CString data, CString& results) { USES_CONVERSION; LPSTR aData=T2A((LPCTSTR)data); HCRYPTPROV hCryptProv = NULL;...
113
by: Bonj | last post by:
I was in need of an encryption algorithm to the following requirements: 1) Must be capable of encrypting strings to a byte array, and decyrpting back again to the same string 2) Must have the same...
5
by: othman taj via .NET 247 | last post by:
Hi everyone, I want to encrypt and decrypt a message. I'm using RSA encryption/decryption with PRIVATEKEYBLOB, no hash, and everything works fine, ie I can see my plaintext. I notices that...
3
by: Charles Denny | last post by:
I'm trying to call CertFindCertificateInStore to find all certificates in the store that have the Code Signing enhanced key usage. I'm running into problems marshalling the array of OIDs in...
0
by: Kapil Suri via .NET 247 | last post by:
Well i am just trying to include the header file Wincrypt.h I have already given the path in Tools-options directory of that header file Here is my little Code #include<windows.h>...
7
by: jtfaulk | last post by:
I need to encode some information on the server side using ASP.NET with C#; sending via HTTP to a client side application, that needs to be decoded in an MFC C++ application. I'm not sure if I...
1
by: TheCite | last post by:
I am trying to make a function to hash passwords with. Here is the code: Option Compare Database Option Explicit 'function declarations Private Declare Function CryptAcquireContext Lib...
5
by: ShadowLocke | last post by:
Hi! I'm having a problem calling CryptDecrypt from .Net. Even thoug I call from inside a try catch block execution stops on the call with error "Exception of type...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.