Click here to Skip to main content
15,893,588 members
Home / Discussions / C#
   

C#

 
QuestionRe: Convert a pdf file to picture format Pin
abbd3-Mar-09 8:56
abbd3-Mar-09 8:56 
AnswerRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 9:46
Yusuf3-Mar-09 9:46 
QuestionRe: Convert a pdf file to picture format Pin
abbd3-Mar-09 9:51
abbd3-Mar-09 9:51 
AnswerRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 10:01
Yusuf3-Mar-09 10:01 
QuestionRe: Convert a pdf file to picture format Pin
abbd3-Mar-09 10:15
abbd3-Mar-09 10:15 
AnswerRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 10:19
Yusuf3-Mar-09 10:19 
QuestionRe: Convert a pdf file to picture format Pin
abbd3-Mar-09 10:57
abbd3-Mar-09 10:57 
AnswerRe: Convert a pdf file to picture format Pin
Christian Graus3-Mar-09 11:04
protectorChristian Graus3-Mar-09 11:04 
GeneralRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 11:12
Yusuf3-Mar-09 11:12 
GeneralRe: Convert a pdf file to picture format Pin
Christian Graus3-Mar-09 11:15
protectorChristian Graus3-Mar-09 11:15 
GeneralRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 11:48
Yusuf3-Mar-09 11:48 
AnswerRe: Convert a pdf file to picture format Pin
Yusuf3-Mar-09 11:05
Yusuf3-Mar-09 11:05 
GeneralRe: Convert a pdf file to picture format Pin
abbd3-Mar-09 21:58
abbd3-Mar-09 21:58 
QuestionRe: Convert a pdf file to picture format Pin
abbd4-Mar-09 3:08
abbd4-Mar-09 3:08 
QuestionPopulating Data from MS Access Pin
haroon19803-Mar-09 6:55
haroon19803-Mar-09 6:55 
AnswerRe: Populating Data from MS Access Pin
dan!sh 3-Mar-09 7:16
professional dan!sh 3-Mar-09 7:16 
GeneralRe: Populating Data from MS Access Pin
haroon19803-Mar-09 7:35
haroon19803-Mar-09 7:35 
AnswerRe: Populating Data from MS Access Pin
Eddy Vluggen3-Mar-09 8:09
professionalEddy Vluggen3-Mar-09 8:09 
AnswerRe: Populating Data from MS Access Pin
haroon19803-Mar-09 11:38
haroon19803-Mar-09 11:38 
QuestionWriting SQL statement in C# Pin
Deepali Khalkar3-Mar-09 6:39
Deepali Khalkar3-Mar-09 6:39 
AnswerRe: Writing SQL statement in C# Pin
Yusuf3-Mar-09 8:32
Yusuf3-Mar-09 8:32 
QuestionCannot use Java generated DES Key in C# Pin
karpolu3-Mar-09 6:13
karpolu3-Mar-09 6:13 
Greetings,

I am developing an application that reads a DES encrypted password generated using Java in a properties file and decrypts it, using DESCryptoServiceProvider. I am provided with the key string originally generated with Java using DES.

Does anyone have an example or sample code that converts/uses a Java generated key to decrypt a Java generated password in C#? After removing the dashes, I get the "Specified key is not a valid size for this algorithm" exception.

I've tried both of these lines of code and get the same error:

static byte[] key = ASCIIEncoding.ASCII.GetBytes(dashKey.Replace("-", ""));
OR
static byte[] key = Encoding.ASCII.GetBytes(dashKey.Replace("-", ""));

The error occurrs at either of the below lines of code I tried:

cryptoProvider.Key = key;
OR
ICryptoTransform decryptor = cryptoProvider.CreateDecryptor(key, iv);

Thanks,
Karl
AnswerRe: Cannot use Java generated DES Key in C# Pin
Calin Tatar3-Mar-09 10:02
Calin Tatar3-Mar-09 10:02 
AnswerRe: Cannot use Java generated DES Key in C# Pin
karpolu3-Mar-09 11:33
karpolu3-Mar-09 11:33 
QuestionDefault oreintation landscape ,datetime and Tabname in the footer when user print the excel sheet by default. Pin
vikram_asv3-Mar-09 5:59
vikram_asv3-Mar-09 5:59 

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.