· using System;
using System.Web.UI;
using System.ComponentModel;
using System.Web.UI.WebControls;
using System.Text;
using System.Text.RegularExpressions;namespace Blood.Com.WebControl
{
/// <summary>
/// ASP.NET纯数字文本框控件
/// Blood 制作于2002年2月
...
· Latest Snippet Version: 1.0using System;namespace Barsoom
{
/// <summary>
/// Good 31-bit Random Number Generator, returns Uint.
/// </summary>
/// <remarks>
///
/// LICENSE : PUBLIC DOMAIN
///
/// This is the base class f...
· /*Authur Xuntan
This sample program shows how to decode a ssreader image file
Based on xuntan's reverse engineer work.
Gif writing function is not included
*/#include <stdio.h>
#include <math.h>
#include "gif.h"typedef struct {
int width;
int hei...
· Option Strict Off
Option Explicit On
Option Compare Text
Imports Microsoft.VisualBasic.Compatibility
Namespace Blood.Com.ClassLib
Public Class Security Private pbBase64Byt(63) As Byte Private Const BASE64CHR As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde...
· public class LinkedQueue
{
private class Node
{
public object Data;
public Node Link;
}
private Node front;
private Node rear;
public LinkedQueue()
{
}
...
· 检测是否还有黑客代码的ASP.net函数 ouwx(原作)
关键字 黑客
查询是否还有黑客代码的ASP.net函数,非常适合留言簿、bbs、聊天室<%@ Page language="vb"%>
<script runat="server">
dim heike(2) as string
dim i as integer
'定义黑客代码
publi...
· C#
-----------------------------------------------
//名称空间
using System;
using System.Security.Cryptography;
using System.IO;
using System.Text; //方法
//加密方法
public string Encrypt(string pToEncrypt, string sKey)
{
DESCryptoServic...
· In this article, a simple web based editor is built for the web.config file of ASP.NET. This article will cover the basics of the new web.config file structure, as well as helping the reader to understand the configuration file hierarchy of the .NET environment. It will also ...
· using System;
using System.Security ;
using System.Security.Cryptography ;
using System.Diagnostics ;
using System.Web ;
using System.Text ;namespace Bigeagle.Util
{
/// <summary>
/// 一个加密类
/// <br>Author: Bigeagle@163.net</br>
/// <...
· 前面有人提了方法,大老鹰也提了意见我这里给出一个更简单的办法,请批评指正string input = "DONGFANGZHIZHU19770822";string alpha = "";string number = "";foreach(char c in input) {
if (Char.IsNumber(c))
number += c;
else
al...