Little Registry Cleaner/AutoUpdater.NET/AutoUpdater.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Globalization;
using System.Net;
using System.IO;
using System.Net.Cache;
using System.Xml;
using System.Reflection;
using Microsoft.Win32;
using System.ComponentModel;
using System.Threading;
namespace AutoUpdaterDotNET
{
public enum RemindLaterFormat
{
Minutes,
Hours,
Days
}
/// <summary>
/// Main class that lets you auto update applications by setting some static fields and executing its Start method.
/// </summary>
public static class AutoUpdater
{
internal static String DialogTitle;
internal static String ChangeLogURL;
internal static String DownloadURL;
internal static String RegistryLocation;
internal static String AppTitle;
internal static Version CurrentVersion;
internal static Version InstalledVersion;
internal static Boolean ForceCheck;
//internal static CultureInfo CurrentCulture;
/// <summary>
/// URL of the xml file that contains information about latest version of the application.
/// </summary>
///
public static String AppCastURL;
/// <summary>
/// Opens the download url in default browser if true. Very usefull if you have portable application.
/// </summary>
public static bool OpenDownloadPage;
/// <summary>
/// Sets the current culture of the auto update notification window. Set this value if your application supports functionalty to change the languge of the application.
/// </summary>
public static CultureInfo CurrentCulture;
后面还有 190 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。