开发者

Generate key in Java & C# common for both languages

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜