???????д?????????
???????????? ???????[ 2013/7/1 14:08:05 ] ????????
?????????????????????????????????????????????????????????Test????У?????????????????????????????????в????????????????
??????????????????????????????????????
???????????????????????????????????????д???????д???????????????????????????????????
[TestMethod]
public void SolutionValidationTest()
{
string publickey = RSACryptionHelper.GeneratePublickKey(false);
string privateKey = RSACryptionHelper.GeneratePublickKey(true);
}
?????????????????????????????????MSDN????
????????磬???????????????Signature Xml?????????????????????????????????????????????
[TestMethod]
public void SolutionLicenseValidationTest()
{
SolutionLicense license = SolutionLicense.ReadLicense();
string licenseFile = @"H:DevelopmentBuildLicense.lic";
StreamReader reader = new StreamReader(licenseFile?? Encoding.UTF8?? true);
XmlTextReader xmlReader = new XmlTextReader(licenseFile);
XmlDocument doc = new XmlDocument();
doc.Load(xmlReader);
doc.Load(reader);
license = SolutionLicense.ReadLicense();
license.VerifyLicense();
}
??????????????????????д??GUI??????????????????С?????????У??????????MSTest???ж????У?????????????NUnitд???????????Ч????????Resharper????????????????????????????????????????????????????VS??????????????????????????????Run????Debug???ɡ?
?????к????????С??????????????к???????????????????????????????????к???
???????????????????Assert??ж????????????????????????????????????????濴????????????????????ж??????????????????Assert(true?? File.Exist(fileName)) ?????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11