Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
AnswerRe: Regex getting special characters Pin
Richard Andrew x6428-Oct-12 4:37
professionalRichard Andrew x6428-Oct-12 4:37 
AnswerRe: Regex getting special characters Pin
Richard MacCutchan28-Oct-12 5:17
mveRichard MacCutchan28-Oct-12 5:17 
AnswerRe: Regex getting special characters Pin
OriginalGriff29-Oct-12 1:27
mveOriginalGriff29-Oct-12 1:27 
QuestionHow do I expose the LoadCompleted method in the WebBrowser class in WPF C#? Pin
Xarzu27-Oct-12 19:00
Xarzu27-Oct-12 19:00 
AnswerRe: How do I expose the LoadCompleted method in the WebBrowser class in WPF C#? Pin
OriginalGriff27-Oct-12 22:14
mveOriginalGriff27-Oct-12 22:14 
AnswerRe: How do I expose the LoadCompleted method in the WebBrowser class in WPF C#? Pin
Richard MacCutchan28-Oct-12 0:21
mveRichard MacCutchan28-Oct-12 0:21 
QuestionHow to convert a string to an unique numeric value? Pin
gibsray27-Oct-12 1:09
gibsray27-Oct-12 1:09 
AnswerRe: How to convert a string to an unique numeric value? Pin
Alan N27-Oct-12 2:12
Alan N27-Oct-12 2:12 
Your process has 3 separate steps
1) Encoding/Decoding of string to byte array
2) Conversion of byte array to BigInteger and vice versa
3) Encryption/Decryption of BigInteger

Your will need to know which step or steps are giving an error to solve this problem.

Certainly ASCII encoding won't be suitable unless the input is restricted to characters codes below 128. UTF8 should be ok, but the test is the round trip conversion from string to byte array and back again.

BigInteger conversion from/to a byte array, presumably via the BigInteger(byte[]) constructor and the ToByteArray method, should be ok as well, but again don't assume anything and perform a few tests.

Do the same for the encrypt/decrypt cycle and then you should be in a much better position to move forward towards a solution.

Alan.
AnswerRe: How to convert a string to an unique numeric value? Pin
Clifford Nelson29-Oct-12 9:56
Clifford Nelson29-Oct-12 9:56 
AnswerRe: How to convert a string to an unique numeric value? Pin
BobJanova29-Oct-12 23:39
BobJanova29-Oct-12 23:39 
QuestionWould you use a custom enumerator? Pin
DaveyM6926-Oct-12 21:40
professionalDaveyM6926-Oct-12 21:40 
AnswerRe: Would you use a custom enumerator? Pin
BobJanova29-Oct-12 0:32
BobJanova29-Oct-12 0:32 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 1:57
professionalDaveyM6929-Oct-12 1:57 
GeneralRe: Would you use a custom enumerator? Pin
BobJanova29-Oct-12 3:41
BobJanova29-Oct-12 3:41 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 11:00
professionalDaveyM6929-Oct-12 11:00 
AnswerRe: Would you use a custom enumerator? Pin
Richard Deeming29-Oct-12 2:17
mveRichard Deeming29-Oct-12 2:17 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 5:19
professionalDaveyM6929-Oct-12 5:19 
AnswerRe: Would you use a custom enumerator? Pin
Clifford Nelson29-Oct-12 8:52
Clifford Nelson29-Oct-12 8:52 
GeneralRe: Would you use a custom enumerator? Pin
DaveyM6929-Oct-12 10:45
professionalDaveyM6929-Oct-12 10:45 
Questionhow can we add a reference in c#.net project programmatically?? Pin
prani_partner26-Oct-12 19:45
prani_partner26-Oct-12 19:45 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Dave Kreskowiak27-Oct-12 3:37
mveDave Kreskowiak27-Oct-12 3:37 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Eddy Vluggen27-Oct-12 4:24
professionalEddy Vluggen27-Oct-12 4:24 
AnswerRe: how can we add a reference in c#.net project programmatically?? Pin
Clifford Nelson29-Oct-12 13:54
Clifford Nelson29-Oct-12 13:54 
QuestionApp Without Installation Pin
C-P-User-326-Oct-12 10:33
C-P-User-326-Oct-12 10:33 
AnswerRe: App Without Installation Pin
Ravi Bhavnani26-Oct-12 10:41
professionalRavi Bhavnani26-Oct-12 10:41 

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.