473,395 Members | 1,815 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,395 software developers and data experts.

DPAPI

Can anyone point me to a good example of using DPAPI with VB .NET and SQL
2000?
Nov 21 '05 #1
3 2100
Hi

Dazed & Confused is a great film. I take it from your name you're a pothead
thinking you are sitting on the half way line of a football frield at night.

About your question: The data protection API is on the MSDN site & there
used to be a few examples in the VB.NET Knowledge Base site. I have also
seen something in the MSDN magazine, but cannot remember which issue last
year & therefore cannot point you to the right issue for you to download the
code - sorry

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2
Actually I didn't know there was a movie, maybe I should check it out, there
maybe a slander suite in it... sounds like me.

I found what I think is a good example at
http://msdn.microsoft.com/msdnmag/is...n/default.aspx

but it is in C#. I found another example in VB .NET (not exactly the same),
the C# example passes a byte array to the encrypt class, the VB passes a
string. I think with the VB example I have what I want, but.... I want mine
to also use byte, so I am trying to convert the C# to VB, not so much fun, I
am just getting more Dazed and Confused....
"Crouchie1998" <cr**********@spamcop.net> wrote in message
news:ut*************@TK2MSFTNGP11.phx.gbl...
Hi

Dazed & Confused is a great film. I take it from your name you're a
pothead
thinking you are sitting on the half way line of a football frield at
night.

About your question: The data protection API is on the MSDN site & there
used to be a few examples in the VB.NET Knowledge Base site. I have also
seen something in the MSDN magazine, but cannot remember which issue last
year & therefore cannot point you to the right issue for you to download
the
code - sorry

Crouchie1998
BA (HONS) MCP MCSE

Nov 21 '05 #3
I have also found a simple C# code snippet which is very simple to convert
to VB.NET:

http://www.blackbytes-components.com...DataProtection

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #4

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

Similar topics

0
by: james | last post by:
I have crated DPAPI libraries and Serviced component running under a specific user. But when i call this serviced component to encrypt a specific username and password(input values) it gives...
1
by: Nicholas Then | last post by:
I have just written a COM object which ties into a roaming user profile so that I may use DPAPI on many machines and have the same encryption and decryption. When I install it on 2 of my servers...
1
by: Shaun | last post by:
Hi, I'm trying to implement encryption of connection string using DPAPI User Store. One of the objective is, after reading the connection string from Web.config file, my program has to know if...
2
by: Shaun Ram | last post by:
I am working on using DPAPI user profile store to encrypt a connection string in web.config file, using VB.NET 1. I have a situation here, I would not want the DPAPI User profile to be...
3
by: michael sorens | last post by:
In the interests of increasing security, I came upon the DPAPI security library available from the GotDotNet user samples repository. What I want to do is create an applications that accesses a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...

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.