摘要: private short ReversalHighLowByte(short val) { byte[] arrSrc = BitConverter.GetBytes(val); byte[] arrDst = new byte[arrSrc.Length]; arrDst[0] = arrSrc 阅读全文
posted @ 2022-12-09 13:50 double64 阅读(598) 评论(0) 推荐(0)
摘要: public string GetLocalIPStr() { string localIP = string.Empty; using (Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, 0)) { s 阅读全文
posted @ 2022-12-09 13:34 double64 阅读(44) 评论(0) 推荐(0)
摘要: static void AddFileFix(string fileFullName, string prefix, string suffix) { try { if (string.IsNullOrEmpty(prefix) && string.IsNullOrEmpty(suffix)) { 阅读全文
posted @ 2022-12-09 13:30 double64 阅读(339) 评论(0) 推荐(0)