text
stringlengths
0
13.4k
Chapter 47: Exceptions
.........................................................................................................................................
146
...................................................................................
...........................................................................................................................
..................................................................................................................................
Section 47.1: Catching and rethrowing caught exceptions
Section 47.2: Using a finally block
Section 47.3: Exception Filters
Section 47.4: Rethrowing an exception within a catch block
Section 47.5: Throwing an exception from a dierent method while preserving its information
Section 47.6: Catching an exception
Chapter 48: System.Diagnostics
Section 48.1: Run shell commands
Section 48.2: Send Command to CMD and Receive Output
Section 48.3: Stopwatch
...........................................................................................................................................
..........................................................................................................................
.......................................................................................................................
......................................................................................................................
.................................................................................
................................................................................
....................
148
Chapter 49: Encryption / Cryptography
.....................................................................................................
153
Section 49.1: Encryption and Decryption using Cryptography (AES)
Section 49.2: RijndaelManaged
Section 49.3: Encrypt and decrypt data using AES (in C#)
Section 49.4: Create a Key from a Password / Random SALT (in C#)
...............................................................................................................................
..................................................................
..................................................................................
...............................................................
158
Chapter 50: Work with SHA1 in C#
...................................................................................................................
161
Section 50.1: #Generate SHA1 checksum of a file
Section 50.2: #Generate hash of a text
..................................................................................................
161
..................................................................................................................
161
Chapter 51: Unit testing
.........................................................................................................................................
162
Section 51.1: Adding MSTest unit testing project to an existing solution
Section 51.2: Creating a sample test method
.........................................................................................................
162
.............................................................
162
Chapter 52: Write to and read from StdErr stream
...............................................................................
163