mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
28 lines
697 B
Plaintext
28 lines
697 B
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" %>
|
|
<%@ Import Namespace="System.Security.Cryptography" %>
|
|
<%@ Import Namespace="System.Threading" %>
|
|
|
|
<script runat="server">
|
|
void Page_Load() {
|
|
byte[] delay = new byte[1];
|
|
RandomNumberGenerator prng = new RNGCryptoServiceProvider();
|
|
|
|
prng.GetBytes(delay);
|
|
Thread.Sleep((int)delay[0]);
|
|
|
|
IDisposable disposable = prng as IDisposable;
|
|
if (disposable != null) { disposable.Dispose(); }
|
|
}
|
|
</script>
|
|
|
|
<html>
|
|
<head id="Head1" runat="server">
|
|
<title>Error</title>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
An error occurred while processing your request.
|
|
</div>
|
|
</body>
|
|
</html>
|