Метод | Описание | |
---|---|---|
Add ( string key, uint crc ) : void | ||
CheckCrc ( string key, uint crc ) : bool |
crc校验 1 crc==0 通过。 2 如果校验列表没值通过。
|
|
CheckLocalFileCrc ( string path, uint &fileCrc ) : bool |
本地文件crc强制校验, 1 如果校验列表没值不通过。 1 文件不存在不通过。 1 校验列表值为0通过。
|
|
CheckLocalFileWeakCrc ( string path, uint &fileCrc ) : bool |
文件crc 1 如果校验列表没值并且文件存在返回false 2 如果校验列表没值并且文件不存在返回true
|
|
CheckUriCrc ( |
根据组策略校验request.url的crc值。 文件不存在或者校验失败返回false
|
|
Clear ( ) : void | ||
ContainsKey ( string key ) : bool | ||
GetCrc ( string key ) : uint |
|
|
GetLocalFileCrc ( string path, uint &l ) : uint |
获取文件crc
|
|
Remove ( string key ) : bool |
Метод | Описание | |
---|---|---|
ClearCrcCheckedMap ( string crcKey ) : void |
public static Add ( string key, uint crc ) : void | ||
key | string | |
crc | uint | |
Результат | void |
public static CheckCrc ( string key, uint crc ) : bool | ||
key | string | |
crc | uint | |
Результат | bool |
public static CheckLocalFileCrc ( string path, uint &fileCrc ) : bool | ||
path | string | |
fileCrc | uint | |
Результат | bool |
public static CheckLocalFileWeakCrc ( string path, uint &fileCrc ) : bool | ||
path | string | |
fileCrc | uint | |
Результат | bool |
public static CheckUriCrc ( |
||
req | ||
Результат | bool |
public static ContainsKey ( string key ) : bool | ||
key | string | |
Результат | bool |
public static GetCrc ( string key ) : uint | ||
key | string | |
Результат | uint |
public static GetLocalFileCrc ( string path, uint &l ) : uint | ||
path | string | |
l | uint | |
Результат | uint |
public static Remove ( string key ) : bool | ||
key | string | |
Результат | bool |