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.Collections.Generic; | |
using System.IO; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace dotnet_aes | |
{ | |
public class OpenSslAes | |
{ |
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.Collections.Specialized; | |
using System.Configuration.Provider; | |
using System.Web.Configuration; | |
using System.Web.Security; | |
namespace Custom.Providers | |
{ | |
public class CustomMembershipProvider : MembershipProvider | |
{ |
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.Collections.Specialized; | |
using System.Configuration.Provider; | |
using System.Linq; | |
using System.Web.Configuration; | |
using System.Web.Security; | |
namespace Custom.Providers | |
{ | |
public class CustomRoleProvider : RoleProvider |
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.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace Utilities | |
{ | |
/// <summary> | |
/// Simple utility class for generating hashes for string values. | |
/// </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
class RandomDataSet | |
{ | |
private int seed, compCount; | |
private List<int> idataset = new List<int>(); | |
/// <summary> | |
/// Default constructor. | |
/// </summary> | |
public RandomDataSet() | |
: this( new List<int>(), 0, System.DateTime.Now.Millisecond ) |
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.Collections; | |
using System.Linq; | |
using System.Xml.Linq; | |
/// <summary>Represent an Exception as XML data.</summary> | |
public class ExceptionXElement : XElement | |
{ | |
/// <summary>Create an instance of ExceptionXElement.</summary> | |
/// <param name="exception">The Exception to serialize.</param> |
NewerOlder