Revision: | 86 |
Committed: | Wed May 9 19:41:06 2012 UTC (11 years, 7 months ago) by william |
File size: | 496 byte(s) |
Log Message: | + add support to set plugins in user settings |
# | Content |
---|---|
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 | } |