Click here to Skip to main content
15,904,287 members
Home / Discussions / C#
   

C#

 
Questionhow would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 14:37
tonyonlinux10-Feb-10 14:37 
AnswerRe: how would you change your bindingsource for a textbox programmably Pin
Gaurav Dudeja India10-Feb-10 17:22
Gaurav Dudeja India10-Feb-10 17:22 
GeneralRe: how would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 17:32
tonyonlinux10-Feb-10 17:32 
GeneralRe: how would you change your bindingsource for a textbox programmably Pin
tonyonlinux10-Feb-10 18:13
tonyonlinux10-Feb-10 18:13 
QuestionMoving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 9:12
shadowthief_0310-Feb-10 9:12 
AnswerRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 9:15
professionalKeith Barrow10-Feb-10 9:15 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 9:53
shadowthief_0310-Feb-10 9:53 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 10:08
professionalKeith Barrow10-Feb-10 10:08 
Everything you need is in System.IO, for example the File class has Copy and Delete methods. Basic code would look like this:

string sourcePath = ".....";
string destinationPath = "......";
File.Copy(sourcePath, destinationPath);
//Process copied file
File.Delete(destinationPath);


If I understand your post, there is still a problem with packaging up the decryption utility.
a) If your password is not the key then the encryption is only as good as the password strength (and the code to verify the password). It is also open to automated attempts at finding the password.
b) If you use both the key and the iv as the password, you need will need to send these as plain text to the user.
c) Along side b, Long keys are unlikely to be entered correctly by the user, short values are are susceptible to brute-force attacks).
d) You will need to obstifucate your decrypter to. Posssibly
Antoine de Saint-Exupery: Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.

GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 10:35
shadowthief_0310-Feb-10 10:35 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 11:21
professionalKeith Barrow10-Feb-10 11:21 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 10:53
shadowthief_0310-Feb-10 10:53 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Eddy Vluggen10-Feb-10 11:14
professionalEddy Vluggen10-Feb-10 11:14 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 11:24
shadowthief_0310-Feb-10 11:24 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Keith Barrow10-Feb-10 11:38
professionalKeith Barrow10-Feb-10 11:38 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
shadowthief_0310-Feb-10 11:56
shadowthief_0310-Feb-10 11:56 
GeneralRe: Moving a file from a CD to a Folder somewhere on hardrive Pin
Eddy Vluggen10-Feb-10 12:00
professionalEddy Vluggen10-Feb-10 12:00 
QuestionHow to Load & Save to val's in app.config file ? Pin
Gali197810-Feb-10 7:59
Gali197810-Feb-10 7:59 
AnswerRe: How to Load & Save to val's in app.config file ? Pin
Dan Mos10-Feb-10 8:27
Dan Mos10-Feb-10 8:27 
QuestionUserControl Designer Support Pin
Andy Braham10-Feb-10 7:32
Andy Braham10-Feb-10 7:32 
Questionwant code Pin
ajay 201010-Feb-10 7:08
ajay 201010-Feb-10 7:08 
AnswerMessage Closed Pin
10-Feb-10 7:31
stancrm10-Feb-10 7:31 
GeneralRe: want code Pin
ajay 201011-Feb-10 1:09
ajay 201011-Feb-10 1:09 
AnswerRe: want code Pin
Dan Mos10-Feb-10 7:31
Dan Mos10-Feb-10 7:31 
GeneralRe: want code Pin
ajay 201011-Feb-10 1:16
ajay 201011-Feb-10 1:16 
GeneralRe: want code Pin
ajay 201011-Feb-10 1:20
ajay 201011-Feb-10 1:20 

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.