mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
58 lines
1.2 KiB
C#
58 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.Win32;
|
|
|
|
namespace Microsoft.Zune.Configuration
|
|
{
|
|
public class AccountGuidConfiguration : CConfigurationManagedBase
|
|
{
|
|
public IList<string> RegisteredDevices
|
|
{
|
|
get
|
|
{
|
|
return GetStringListProperty("RegisteredDevices");
|
|
}
|
|
set
|
|
{
|
|
SetStringListProperty("RegisteredDevices", value);
|
|
}
|
|
}
|
|
|
|
public DateTime ReportUsageDataDueDate
|
|
{
|
|
get
|
|
{
|
|
DateTime defaultValue = new DateTime(1999, 1, 1);
|
|
return GetDateTimeProperty("ReportUsageDataDueDate", defaultValue);
|
|
}
|
|
set
|
|
{
|
|
SetDateTimeProperty("ReportUsageDataDueDate", value);
|
|
}
|
|
}
|
|
|
|
public DateTime RefreshSubscriptionLicenseDueDate
|
|
{
|
|
get
|
|
{
|
|
DateTime defaultValue = new DateTime(1999, 1, 1);
|
|
return GetDateTimeProperty("RefreshSubscriptionLicenseDueDate", defaultValue);
|
|
}
|
|
set
|
|
{
|
|
SetDateTimeProperty("RefreshSubscriptionLicenseDueDate", value);
|
|
}
|
|
}
|
|
|
|
internal AccountGuidConfiguration(RegistryHive hive)
|
|
: base(hive, null, "AccountGuid")
|
|
{
|
|
}
|
|
|
|
public AccountGuidConfiguration(RegistryHive hive, string basePath, string instance)
|
|
: base(hive, basePath, instance)
|
|
{
|
|
}
|
|
}
|
|
}
|