Click here to Skip to main content
15,896,201 members
Home / Discussions / C#
   

C#

 
GeneralRe: get application task Pin
Luis Alonso Ramos28-Nov-04 7:34
Luis Alonso Ramos28-Nov-04 7:34 
Generalrichtextbox problem Pin
kendao27-Nov-04 21:12
kendao27-Nov-04 21:12 
GeneralRe: richtextbox problem Pin
Jay Shankar28-Nov-04 13:56
Jay Shankar28-Nov-04 13:56 
Generalcollection properties in user controls Pin
Anonymous27-Nov-04 19:31
Anonymous27-Nov-04 19:31 
GeneralView&Write Pin
kenes27-Nov-04 13:50
kenes27-Nov-04 13:50 
GeneralRe: View&Write Pin
Corinna John28-Nov-04 3:54
Corinna John28-Nov-04 3:54 
GeneralSimple MAPI can't fill address field Pin
Ray17027-Nov-04 7:47
Ray17027-Nov-04 7:47 
GeneralConvert.FromBase64String(base64String); - ERROR Pin
anderslundsgard27-Nov-04 4:18
anderslundsgard27-Nov-04 4:18 
Hi I’m going to decrypt a string that my supplier is going to send to my aspx-page.

I’ve got the key to use when I decrypt using Rijndaels algorithm.

I think I should use the System.Security.Cryptography.RijndaelManaged class but have problem setting the Key property.

Here Is my code:<br />
<br />
RijndaelManaged myRijndael = new RijndaelManaged();<br />
byte[] key;<br />
char[] base64CharArray = new char[16];<br />
base64CharArray = "1234567890123456".ToCharArray(); // 16 signs<br />
<br />
string base64String = new string(base64CharArray);<br />
<br />
key = Convert.FromBase64String(base64String);//myRijndael.Key;


I got the following runtime error:

An unhandled exception of type 'System.FormatException' occurred in CryptoDev.exe
Additional information: Invalid character in a Base-64 string.


_____________________________

...and justice for all

APe
Generaltraffic system simulation project Pin
Member 148592127-Nov-04 3:50
Member 148592127-Nov-04 3:50 
GeneralRe: traffic system simulation project Pin
Colin Angus Mackay27-Nov-04 14:54
Colin Angus Mackay27-Nov-04 14:54 
Generallogging package Pin
mathon27-Nov-04 3:32
mathon27-Nov-04 3:32 
Generalcolumn wise display in datagrid Pin
imarehan27-Nov-04 3:03
imarehan27-Nov-04 3:03 
QuestionHow to write a Grid Pin
Mehdy Khoshrou27-Nov-04 2:19
Mehdy Khoshrou27-Nov-04 2:19 
AnswerRe: How to write a Grid Pin
Nick Parker27-Nov-04 4:28
protectorNick Parker27-Nov-04 4:28 
AnswerRe: How to write a Grid Pin
Alex Korchemniy27-Nov-04 10:04
Alex Korchemniy27-Nov-04 10:04 
GeneralProgressBar Pin
MoustafaS27-Nov-04 0:41
MoustafaS27-Nov-04 0:41 
GeneralComboBox tooltips Pin
Mr.Cooper26-Nov-04 23:40
Mr.Cooper26-Nov-04 23:40 
Generalimplementing dts in c# Pin
Thirumalaraj26-Nov-04 22:08
Thirumalaraj26-Nov-04 22:08 
GeneralRe: implementing dts in c# Pin
David Salter27-Nov-04 1:12
David Salter27-Nov-04 1:12 
Generaldocking windows in an mdi app Pin
Anonymous26-Nov-04 20:07
Anonymous26-Nov-04 20:07 
GeneralProgressBar and Label Pin
26-Nov-04 19:15
suss26-Nov-04 19:15 
GeneralRe: ProgressBar and Label Pin
Alex Korchemniy26-Nov-04 19:39
Alex Korchemniy26-Nov-04 19:39 
QuestionHow to get system data and time in C#? Pin
momer26-Nov-04 19:07
momer26-Nov-04 19:07 
AnswerRe: How to get system data and time in C#? Pin
Alex Korchemniy26-Nov-04 19:15
Alex Korchemniy26-Nov-04 19:15 
GeneralRe: How to get system data and time in C#? Pin
momer26-Nov-04 19:58
momer26-Nov-04 19:58 

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.