开发者

Generate key in Java & C# common for both languages

开发者 https://www.devze.com 2023-04-01 07:16 出处:网络
I want to generate key algorithm with 16 character. That algorithm method should be able to use in two language(Java & C#)?

I want to generate key algorithm with 16 character. That algorithm method should be able to use in two language(Java & C#)?

In java I used UU开发者_Go百科ID.That is not available in C#.

Please guide me.


In .NET you could use the Guid class and more specifically the NewGuid static method if you want to generate a new one.

var guid = Guid.NewGuid();
0

精彩评论

暂无评论...
验证码 换一张
取 消