Commits

wasp committed 39452a9

More cleanups.

Comments (0)

Files changed (2)

src/Elmah.SignalR.Test/PostError.ashx.cs

     #region Imports
 
     using System;
-    using System.Security.Cryptography;
     using System.Web;
     using System.Text;
     using System.Web.Script.Serialization;
 
     public class PostError : IHttpHandler
     {
-        static readonly HashAlgorithm _hash = new MD5CryptoServiceProvider();
-
-        string HashData(string data)
-        {
-            byte[] bytes = (new UnicodeEncoding()).GetBytes(data);
-            byte[] hashed = _hash.ComputeHash(bytes);
-            var sb = new StringBuilder(64);
-            foreach (var b in hashed)
-                sb.AppendFormat("{0:x2}", b);
-            return sb.ToString();
-        }
-
         public void ProcessRequest(HttpContext context)
         {
             var error           = Decode(context.Request.Params["error"]);

src/Elmah.SignalR.Test/YellowScreenOfDeath.ashx.cs

-using System.Web;
+namespace Elmah.SignalR.Test
+{
+    #region Imports
 
-namespace Elmah.SignalR.Test
-{
+    using System.Web;
+
+    #endregion
+
     /// <summary>
     /// Summary description for YellowScreenOfDeath
     /// </summary>