SoftBasicGetUniqueStringByGuidAndRandom 方法 |
获取一串唯一的随机字符串,长度为20,由Guid码和4位数的随机数组成,保证字符串的唯一性
Gets a string of unique random strings with a length of 20, consisting of a GUID code and a 4-digit random number to guarantee the uniqueness of the string
命名空间:
HslCommunication.BasicFramework
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static string GetUniqueStringByGuidAndRandom()
Public Shared Function GetUniqueStringByGuidAndRandom As String
public:
static String^ GetUniqueStringByGuidAndRandom()
static member GetUniqueStringByGuidAndRandom : unit -> string
返回值
类型:
String随机字符串数据
示例 GetUniqueStringByGuidAndRandom示例
string uid = SoftBasic.GetUniqueStringByGuidAndRandom( );
参见