This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.Threading; | |
using System.Windows; | |
namespace WPFProgressBar | |
{ | |
/// <summary> | |
/// Interaction logic for MainWindow.xaml | |
/// </summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//The following sample uses the Cryptography class to simulate the roll of a dice. | |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Security.Cryptography; | |
class RNGCSP | |
{ | |
private static RNGCryptoServiceProvider rngCsp = new RNGCryptoServiceProvider(); |