... changes (recipes 5-6, 5 -17 , and 5-
19 )
• Create, read, and write text and binary files; create temporary files; and use
isolated storage (recipes 5-7, 5-8, 5-9, 5 -15 , 5 -18 , and 5- 21)
• Search ... test files for equality and work with strings that
contain path information (recipes 5 -10 , 5 -11 , 5 -12 , 5 -13 , and 5 -14 )
• Write to a COM port (recipe 5-20)
• Retrieve or mo...
...
xv
11 -13 . Create a Cryptographically Random Number 575
11 -14 . Calculate the Hash Code of a Password 577
11 -15 . Calculate the Hash Code of a File 5 81
11 -16 . Verify a Hash Code 583
11 -17 . ... Grid 809
17 -9. Position UI Elements Using Exact Coordinates 811
17 -10 . Get Rich Text Input from a User 813
17 -11 . Display a Control Rotated 818
17 -12 . Create a User Control 8...
... (recipes 10 -1 and 10 -2)
• Download files from File Transfer Protocol (FTP) and HTTP servers (recipes 10 -3,
10 -4, and 10 -6)
• Respond to HTTP requests from within your application (recipe 10 -5) ... Echo request (recipe 10 -9)
• Communicate between programs through the direct use of TCP in both
synchronous and asynchronous communication models (recipes 10 -10 and 10 -11 )...
... DateTime.Now.ToString("HH:mm:ss.ffff"));
// Sleep for 1 second.
Thread.Sleep (10 00);
}
}
CHAPTER 4 ■ THREADS, PROCESSES, AND SYNCHRONIZATION
19 0
4 -12 . Know When a Thread Finishes
Problem
You ... domain. The password
is specified as a System.Security.SecureString for added security. (See recipe 11 -18 for more
information about the SecureString class.) Her...
... that no console is created when
5890ch 01. qxd 12 /8/05 1: 58 PM Page 6
5890ch00_FM.qxd 12 /9/05 1: 11 PM Page xviii
5890ch00_FM.qxd 12 /9/05 1: 11 PM Page iv
1- 12. Sign an Assembly with an Authenticode
Digital ... languages whose names conflict with C# keywords
(recipe 1- 7)
• Give assemblies strong names and verify strong-named assemblies (recipes 1- 8, 1- 9, 1- 10,
and 1-...
... Transformations
(XSLT) stylesheet (recipe 6 -12 )
• Use LINQ to XML to load, create, query and modify XML trees (recipes 6 -13 , 6 -14 ,
6 -15 , and 6 -16 ).
6 -1. Show the Structure of an XML Document ... (recipe 7 -13 )
• Create forms that cannot be moved and create borderless forms that can be
moved (recipes 7 -14 and 7 -15 )
• Create an animated system tray icon for your applicat...