Click here to Skip to main content
15,891,902 members
Home / Discussions / C#
   

C#

 
AnswerRe: Thread and Webbrowser Control- Want to Create webbrowser on the fly(runtime) Pin
Pete O'Hanlon15-Sep-10 3:45
mvePete O'Hanlon15-Sep-10 3:45 
Questionc# Pin
solanki12314-Sep-10 20:03
solanki12314-Sep-10 20:03 
AnswerRe: c# Pin
Dave Kreskowiak14-Sep-10 20:04
mveDave Kreskowiak14-Sep-10 20:04 
AnswerRe: c# Pin
Abhinav S14-Sep-10 20:24
Abhinav S14-Sep-10 20:24 
AnswerRe: c# Pin
Dave Kreskowiak15-Sep-10 2:12
mveDave Kreskowiak15-Sep-10 2:12 
AnswerRe: c# Pin
PIEBALDconsult15-Sep-10 3:06
mvePIEBALDconsult15-Sep-10 3:06 
Questionencoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 10:00
stephen.darling14-Sep-10 10:00 
AnswerRe: encoding and decoding in BASE 10 Pin
Ennis Ray Lynch, Jr.14-Sep-10 10:11
Ennis Ray Lynch, Jr.14-Sep-10 10:11 
By default a number is already in base 10. Unfortunately, you are confusing a few concepts. For example:

string number = "2354 3488 3433 2332";


is not a base 10 encoded number it is a Unicode string occupying 20 bytes. Here is what you most likely want:

using System.Security.Cryptography;
using System.IO;
...
Int32 anInteger = 1233455;
DES des = DESCryptoServiceProvider.Create();
ICryptoTransform transform = des.CreateEncryptor(); //Not correct
CryptoStream stream = new CryptoStream(memorySteam, transform, CryptoStreamMode.Write);
StreamWriter writer = new StreamWriter(stream);
writer.Write(anInteger);


Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS.

"And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

AnswerRe: encoding and decoding in BASE 10 [modified] Pin
Luc Pattyn14-Sep-10 10:18
sitebuilderLuc Pattyn14-Sep-10 10:18 
GeneralRe: encoding and decoding in BASE 10 Pin
harold aptroot14-Sep-10 10:23
harold aptroot14-Sep-10 10:23 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 10:24
sitebuilderLuc Pattyn14-Sep-10 10:24 
AnswerRe: encoding and decoding in BASE 10 Pin
T M Gray14-Sep-10 10:21
T M Gray14-Sep-10 10:21 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 10:55
stephen.darling14-Sep-10 10:55 
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 11:22
protectorAspDotNetDev14-Sep-10 11:22 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:11
stephen.darling14-Sep-10 12:11 
GeneralRe: encoding and decoding in BASE 10 Pin
T M Gray14-Sep-10 12:17
T M Gray14-Sep-10 12:17 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 12:28
sitebuilderLuc Pattyn14-Sep-10 12:28 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 12:50
stephen.darling14-Sep-10 12:50 
GeneralRe: encoding and decoding in BASE 10 [modified] Pin
Luc Pattyn14-Sep-10 13:27
sitebuilderLuc Pattyn14-Sep-10 13:27 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 13:36
stephen.darling14-Sep-10 13:36 
GeneralRe: encoding and decoding in BASE 10 Pin
Luc Pattyn14-Sep-10 13:43
sitebuilderLuc Pattyn14-Sep-10 13:43 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:05
stephen.darling14-Sep-10 14:05 
GeneralRe: encoding and decoding in BASE 10 Pin
AspDotNetDev14-Sep-10 14:34
protectorAspDotNetDev14-Sep-10 14:34 
GeneralRe: encoding and decoding in BASE 10 Pin
stephen.darling14-Sep-10 14:57
stephen.darling14-Sep-10 14:57 
GeneralRe: encoding and decoding in BASE 10 Pin
federico.strati15-Sep-10 3:11
federico.strati15-Sep-10 3:11 

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.