E3.AutoUpdater/UpdaterUtility/AppAutoUpdate.cs
(开头部分) 10KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.IO;
using System.Net;
using System.Xml;
using System.Collections;
using System.Windows.Forms;
using System.ComponentModel;
using System.Configuration;
using E3.CSharpZipLib.Zip;
namespace E3.AutoUpdater
{
public partial class AppUpdater : IDisposable
{
#region 成员与字段属性
private string _updaterUrl;
private bool disposed = false;
private IntPtr handle;
private Component component = new Component();
[System.Runtime.InteropServices.DllImport("Kernel32")]
private extern static Boolean CloseHandle(IntPtr handle);
public string UpdaterUrl
{
set { _updaterUrl = value; }
get { return this._updaterUrl; }
}
#endregion
/// <summary>
/// AppUpdater构造函数
/// </summary>
public AppUpdater()
{
this.handle = handle;
}
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
private void Dispose(bool disposing)
{
if (!this.disposed)
{
if (disposing)
{
component.Dispose();
}
CloseHandle(handle);
handle = IntPtr.Zero;
}
disposed = true;
}
后面还有 230 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。