摘要: /// <summary> /// 对象转JSON /// </summary> /// <param name="obj">对象</param> /// <returns>JSON格式的字符串</returns> public static string ObjectToJSON(object o 阅读全文
posted @ 2022-11-21 22:24 懒人境界 阅读(417) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace SyncTool { interna 阅读全文
posted @ 2022-11-12 22:36 懒人境界 阅读(686) 评论(0) 推荐(1)
摘要: 1111 /// <summary> /// 创建Windows帐户 /// </summary> /// <param name="pathname"></param> /// <returns></returns> public static void CreateLocalUser(strin 阅读全文
posted @ 2022-11-08 08:54 懒人境界 阅读(142) 评论(0) 推荐(0)
摘要: 检查日志 当前已启用来宾帐号 帐号: ***** 供来宾访问计算机或访问域的内置帐户 供来宾访问计算机或访问域的内置帐户 当前已启用管理员帐号 帐号: ****** 管理计算机(域)的内置帐户 管理计算机(域)的内置帐户 已开放端口 已开放端口:0.0.0.0:135 已开放端口:0.0.0.0:4 阅读全文
posted @ 2022-11-06 10:50 懒人境界 阅读(273) 评论(0) 推荐(0)
摘要: class Program { static void Main(string[] args) { FileSystemWatcher fswArr = new FileSystemWatcher(); fswArr.Path = "H:\\"; fswArr.IncludeSubdirectori 阅读全文
posted @ 2022-11-06 10:03 懒人境界 阅读(225) 评论(0) 推荐(0)
摘要: //增加一个字段,可以为空,默认1 alter table Ky_U_News add EveryDayVote int NULL default 1 //修改一个字段的类型 alter table Ky_U_News alter Column EveryDayVote nvarchar(1000) 阅读全文
posted @ 2022-11-06 09:59 懒人境界 阅读(92) 评论(0) 推荐(0)
摘要: alter database 数据库 modify file (name='原名称',newname='新名称') 系统数据库用 update 报 不允许对系统目录进行即席更新,用以上SQL语句解决。 阅读全文
posted @ 2022-11-06 09:57 懒人境界 阅读(46) 评论(0) 推荐(0)
摘要: 软件设置 开启远程 模拟器安装证书浏览器打开:http://本机IP:8888/下载安装 阅读全文
posted @ 2022-02-08 21:07 懒人境界 阅读(119) 评论(0) 推荐(0)
摘要: ((?:.|\n)*) 阅读全文
posted @ 2021-12-09 22:12 懒人境界 阅读(23) 评论(0) 推荐(0)
摘要: @echo off color f0 echo 修改远程桌面3389端口(支持Windows 2003 2008 2008R2 2012 2012R2 2016 2019 7 8 10 ) echo 自动添加防火墙规则 echo %date% %time% echo ARK set /p c= 请输 阅读全文
posted @ 2021-11-09 10:42 懒人境界 阅读(373) 评论(0) 推荐(0)