Registry 접근을 위한 Utility Class 입니다.
示例#1
0
        public void Can_GetValue(string subKey, string name, string expectedValue)
        {
            var retrievedValue = RegistryTool.GetLocalMachineValue(subKey, name);

            Assert.AreEqual(expectedValue, retrievedValue);
        }
示例#2
0
        public void Can_GetValueNotExists(string subKey, string name, string expectedValue)
        {
            var retrievedValue = RegistryTool.GetLocalMachineValue(subKey, name);

            Assert.IsNull(retrievedValue);
        }