Click here to Skip to main content
15,886,199 members
Home / Discussions / C#
   

C#

 
GeneralGet a grahics object from a Bitmap Pin
Ista25-Aug-03 17:22
Ista25-Aug-03 17:22 
GeneralRe: Get a grahics object from a Bitmap Pin
Nick Parker25-Aug-03 17:37
protectorNick Parker25-Aug-03 17:37 
GeneralRe: Get a grahics object from a Bitmap Pin
Ista25-Aug-03 17:41
Ista25-Aug-03 17:41 
GeneralRe: Get a grahics object from a Bitmap Pin
Nick Parker25-Aug-03 17:46
protectorNick Parker25-Aug-03 17:46 
GeneralRe: Get a grahics object from a Bitmap Pin
Ista25-Aug-03 17:47
Ista25-Aug-03 17:47 
GeneralRe: Get a grahics object from a Bitmap Pin
Nick Parker25-Aug-03 18:27
protectorNick Parker25-Aug-03 18:27 
GeneralRe: Get a grahics object from a Bitmap Pin
Ista25-Aug-03 18:28
Ista25-Aug-03 18:28 
GeneralDES encryption/decryption Pin
devvvy25-Aug-03 16:41
devvvy25-Aug-03 16:41 
I got this sample from:
http://samples.gotdotnet.com/quickstart/util/srcview.aspx?path=/quickstart/howto/samples/cryptography/fileencrypt/encrypt.src&file=CS\fileencrypt.cs&font=3

Just wondering why there isn't a "key" in the code: You need a key for DES encryption don't you?

Here's the code snippet:

FileStream fs = new FileStream("EncryptedFile.txt",FileMode.Create,FileAccess.Write);
DESCryptoServiceProvider des = new DESCryptoServiceProvider();
ICryptoTransform desencrypt = des.CreateEncryptor();
CryptoStream cryptostream = new CryptoStream(fs,desencrypt,CryptoStreamMode.Write);
cryptostream.Write(bytearrayinput,0,bytearrayinput.Length);
cryptostream.Close();

Thanks.




norm
GeneralRe: DES encryption/decryption Pin
Julian Bucknall [MSFT]26-Aug-03 5:46
Julian Bucknall [MSFT]26-Aug-03 5:46 
QuestionValid CodeProject Article? Pin
Steven Behnke25-Aug-03 14:41
Steven Behnke25-Aug-03 14:41 
AnswerRe: Valid CodeProject Article? Pin
Ista25-Aug-03 15:13
Ista25-Aug-03 15:13 
GeneralRegistry Errors Pin
mikemilano25-Aug-03 10:57
mikemilano25-Aug-03 10:57 
GeneralRe: Registry Errors Pin
Roger Stewart25-Aug-03 12:02
professionalRoger Stewart25-Aug-03 12:02 
GeneralRe: Registry Errors Pin
mikemilano25-Aug-03 12:57
mikemilano25-Aug-03 12:57 
GeneralRe: Registry Errors Pin
Roger Stewart25-Aug-03 15:11
professionalRoger Stewart25-Aug-03 15:11 
GeneralRe: Registry Errors Pin
mikemilano26-Aug-03 7:06
mikemilano26-Aug-03 7:06 
GeneralScreenshot of Window... Pin
Calamitous25-Aug-03 10:40
Calamitous25-Aug-03 10:40 
Questionhow to retrieve a list of sheet from excel with odbc in c#? Pin
zoltix25-Aug-03 10:15
zoltix25-Aug-03 10:15 
AnswerRe: how to retrieve a list of sheet from excel with odbc in c#? Pin
Csharp™25-Aug-03 11:43
Csharp™25-Aug-03 11:43 
GeneralRe: how to retrieve a list of sheet from excel with odbc in c#? Pin
zoltix25-Aug-03 22:47
zoltix25-Aug-03 22:47 
GeneralDataGridTextBoxColumn.WidthChange to trigger method Pin
mikemilano25-Aug-03 6:49
mikemilano25-Aug-03 6:49 
GeneralRe: DataGridTextBoxColumn.WidthChange to trigger method Pin
Roger Stewart25-Aug-03 7:25
professionalRoger Stewart25-Aug-03 7:25 
GeneralRe: DataGridTextBoxColumn.WidthChange to trigger method Pin
mikemilano25-Aug-03 7:48
mikemilano25-Aug-03 7:48 
QuestionC# Profiling?!? Pin
Alberto Bencivenni25-Aug-03 5:37
Alberto Bencivenni25-Aug-03 5:37 
AnswerRe: C# Profiling?!? Pin
leppie25-Aug-03 8:38
leppie25-Aug-03 8:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.