Parent Directory
|
Revision Log
+ add support to set plugins in user settings
1 | using System; |
2 | using System.Collections.Generic; |
3 | using System.Linq; |
4 | using System.Text; |
5 | using System.Security.Cryptography; |
6 | |
7 | namespace RomCheater.PluginFramework.Core |
8 | { |
9 | public class GuidGenerator |
10 | { |
11 | public GuidGenerator(string t) |
12 | { |
13 | MD5 md5Hasher = MD5.Create(); |
14 | byte[] data = md5Hasher.ComputeHash(Encoding.Default.GetBytes(t)); |
15 | Guid = new Guid(data); |
16 | } |
17 | public Guid Guid { get; private set; } |
18 | } |
19 | } |
ViewVC Help | |
Powered by ViewVC 1.1.22 |