¡@

Home 

c# Programming Glossary: sourcefile

GnuPG Wrapper with C#

http://stackoverflow.com/questions/1214026/gnupg-wrapper-with-c-sharp

gpg new GnuPG gpg.Recipient myfriend@domain.com FileStream sourceFile new FileStream @ c temp source.txt FileMode.Open FileStream..

Edit a specific Line of a Text File in C#

http://stackoverflow.com/questions/1971008/edit-a-specific-line-of-a-text-file-in-c-sharp

args int line_to_edit 2 Warning 1 based indexing string sourceFile source.txt string destinationFile target.txt Read the appropriate.. null using StreamReader reader new StreamReader sourceFile for int i 1 i line_to_edit i lineToWrite reader.ReadLine .. null throw new InvalidDataException Line does not exist in sourceFile Read the old file. string lines File.ReadAllLines destinationFile..

Response.AddHeader(“Content-Disposition”) not opening file in IE6

http://stackoverflow.com/questions/3889521/response-addheadercontent-disposition-not-opening-file-in-ie6

in IE 6 the code below works fine for me in IE6 FileStream sourceFile new FileStream Server.MapPath @ FileName FileMode.Open float.. @ FileName FileMode.Open float FileSize FileSize sourceFile.Length byte getContent new byte int FileSize sourceFile.Read.. sourceFile.Length byte getContent new byte int FileSize sourceFile.Read getContent 0 int sourceFile.Length sourceFile.Close Response.ClearContent..

how to get copy file progress

http://stackoverflow.com/questions/3921518/how-to-get-copy-file-progress

int streamNumber int callbackReason IntPtr sourceFile IntPtr destinationFile IntPtr data return int _callback _source.. int streamNumber int callbackReason IntPtr sourceFile IntPtr destinationFile IntPtr data SuppressUnmanagedCodeSecurity..

C# crop circle in a image or bitmap

http://stackoverflow.com/questions/5734710/c-sharp-crop-circle-in-a-image-or-bitmap

his but its a start. public System.Drawing.Image x string sourceFile int circleUpperLeftX int circleUpperLeftY int circleDiameter.. SourceImage new Bitmap System.Drawing.Image.FromFile sourceFile Rectangle CropRect new Rectangle circleUpperLeftX circleUpperLeftY.. that brush Private Shared Function CropImageToCircle ByVal sourceFile As String ByVal circleUpperLeftX As Integer ByVal circleUpperLeftY..

How to join 2 or more .WAV files together programatically?

http://stackoverflow.com/questions/6777340/how-to-join-2-or-more-wav-files-together-programatically

void Concatenate string outputFile IEnumerable string sourceFiles byte buffer new byte 1024 WaveFileWriter waveFileWriter null.. WaveFileWriter waveFileWriter null try foreach string sourceFile in sourceFiles using WaveFileReader reader new WaveFileReader.. waveFileWriter null try foreach string sourceFile in sourceFiles using WaveFileReader reader new WaveFileReader sourceFile..

How to create a password protected file in C#

http://stackoverflow.com/questions/740837/how-to-create-a-password-protected-file-in-c-sharp

data and decrypt public static void Decrypt FileInfo sourceFile string password read salt var fileStream sourceFile.OpenRead.. sourceFile string password read salt var fileStream sourceFile.OpenRead var salt new byte SaltSize fileStream.Read salt 0 SaltSize..