91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 8.5MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-04-12
  • 語言: 其他
  • 標簽:

資源簡介

員工檔案項目繁多,并且有些內(nèi)容會經(jīng)常變化,這給管理工作帶來一定的困難。為了高效地對員工檔案信息進行管理,我們開發(fā)了雷速檔案管理系統(tǒng)。使用這套系統(tǒng),管理員可以在后臺

資源截圖

代碼片段和文件信息

using?System;
using?System.Collections.Generic;
using?System.Text;
using?System.Security.Cryptography;
using?System.Net;
using?System.IO;

namespace?server_http_api
{
????class?CheckSumBuilder
????{
????????//?計算并獲取CheckSum
????????public?static?String?getCheckSum(String?appSecret?String?nonce?String?curTime)
????????{
????????????byte[]?data?=?Encoding.Default.GetBytes(appSecret?+?nonce?+?curTime);
????????????byte[]?result;

????????????SHA1?sha?=?new?SHA1CryptoServiceProvider();
????????????//?This?is?one?implementation?of?the?abstract?class?SHA1.
????????????result?=?sha.ComputeHash(data);

????????????return?getFormattedText(result);
????????}

????????//?計算并獲取md5值
????????public?static?String?getMD5(String?requestBody)
????????{
????????????if?(requestBody?==?null)
????????????????return?null;

????????????//?Create?a?new?instance?of?the?MD5CryptoServiceProvider?object.
????????????MD5?md5Hasher?=?MD5.Create();

????????????//?Convert?the?input?string?to?a?byte?array?and?compute?the?hash.
????????????byte[]?data?=?md5Hasher.ComputeHash(Encoding.Default.GetBytes(requestBody));

????????????//?Create?a?new?Stringbuilder?to?collect?the?bytes
????????????//?and?create?a?string.
????????????StringBuilder?sBuilder?=?new?StringBuilder();

????????????//?Loop?through?each?byte?of?the?hashed?data
????????????//?and?format?each?one?as?a?hexadecimal?string.
????????????for?(int?i?=?0;?i?????????????{
????????????????sBuilder.Append(data[i].ToString(“x2“));
????????????}

????????????//?Return?the?hexadecimal?string.
????????????return?getFormattedText(Encoding.Default.GetBytes(sBuilder.ToString()));
????????}

????????private?static?String?getFormattedText(byte[]?bytes)
????????{
????????????char[]?HEX_DIGITS?=?{?‘0‘?‘1‘?‘2‘?‘3‘?‘4‘?‘5‘
????????????‘6‘?‘7‘?‘8‘?‘9‘?‘a(chǎn)‘?‘b‘?‘c‘?‘d‘?‘e‘?‘f‘?};
????????????int?len?=?bytes.Length;
????????????StringBuilder?buf?=?new?StringBuilder(len?*?2);
????????????for?(int?j?=?0;?j?????????????{
????????????????buf.Append(HEX_DIGITS[(bytes[j]?>>?4)?&?0x0f]);
????????????????buf.Append(HEX_DIGITS[bytes[j]?&?0x0f]);
????????????}
????????????return?buf.ToString();
????????}
????}

????class?HttpClient
????{
????????//發(fā)起Http請求
????????public?static?void?HttpPost(string?url?Stream?data?IDictionaryject?string>?headers?=?null)
????????{
????????????System.Net.WebRequest?request?=?HttpWebRequest.Create(url);
????????????request.Method?=?“POST“;
????????????if?(data?!=?null)
????????????????request.ContentLength?=?data.Length;
????????????//request.ContentType?=?“application/x-www-form-urlencoded;charset=utf-8“;

????????????if?(headers?!=?null)
????????????{
????????????????foreach?(var?v?in?headers)
????????????????{
????????????????????if?(v.Key?is?HttpRequestHeader)
????????????????????????request.Headers[(HttpRequestHeader)v.Key]?=?v.Value;
????????????????????else
????????????????????

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????1298662??2016-03-16?21:31??dareadme.pdf
?????目錄???????????0??2020-04-18?19:19??lsoa\
?????目錄???????????0??2020-04-18?19:19??lsoa\web\
?????目錄???????????0??2020-04-18?19:19??lsoa\web\admin\
?????文件????????6803??2016-02-26?08:18??lsoa\web\admin\default.aspx
?????文件???????15547??2020-04-01?18:48??lsoa\web\admin\login_contactset.aspx
?????文件????????4821??2016-02-26?08:18??lsoa\web\admin\login_databack.aspx
?????文件???????13314??2016-03-02?08:52??lsoa\web\admin\login_departmentandpost.aspx
?????文件????????4580??2020-03-07?13:19??lsoa\web\admin\login_desk.aspx
?????文件????????9799??2016-02-26?08:18??lsoa\web\admin\login_guestbook.aspx
?????文件???????19075??2020-04-15?19:44??lsoa\web\admin\login_manager.aspx
?????文件????????2784??2016-02-26?08:18??lsoa\web\admin\login_managerlog.aspx
?????文件???????13621??2019-03-17?17:25??lsoa\web\admin\login_notice.aspx
?????文件????????4524??2016-03-02?08:52??lsoa\web\admin\login_permission.aspx
?????文件???????29306??2016-04-24?22:15??lsoa\web\admin\login_staff.aspx
?????文件????????2796??2016-03-02?08:52??lsoa\web\admin\login_stafflog.aspx
?????文件????????1326??2016-02-26?08:18??lsoa\web\admin\login_staffprint.aspx
?????文件????????4479??2016-03-02?08:52??lsoa\web\admin\login_staffupload.aspx
?????文件???????22412??2020-04-11?18:26??lsoa\web\admin\login_systemset.aspx
?????文件????????1787??2016-02-26?08:18??lsoa\web\admin\login_xieyi.aspx
?????目錄???????????0??2020-04-18?19:17??lsoa\web\App_Browsers\
?????文件?????????221??2014-03-09?19:35??lsoa\web\App_Browsers\browsers.browser
?????目錄???????????0??2020-04-18?19:17??lsoa\web\App_Code\
?????文件????????5895??2020-03-15?00:48??lsoa\web\App_Code\yunxin163.cs
?????目錄???????????0??2020-04-18?19:19??lsoa\web\bin\
?????文件???????29696??2020-04-18?18:56??lsoa\web\bin\CGBLL.dll
?????文件??????137216??2020-04-18?18:56??lsoa\web\bin\CGDAL_SQL.dll
?????文件???????13312??2020-04-18?18:56??lsoa\web\bin\DCBLL.dll
?????文件???????35328??2020-04-18?18:56??lsoa\web\bin\DCDAL_SQL.dll
?????文件???????35840??2017-06-23?20:04??lsoa\web\bin\FluentScheduler.dll
?????文件???????29696??2020-04-18?18:56??lsoa\web\bin\GZBLL.dll
............此處省略1000個文件信息

評論

共有 條評論

相關資源