mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
57 lines
1.0 KiB
C#
57 lines
1.0 KiB
C#
using System.Runtime.InteropServices;
|
|
using Microsoft.Win32;
|
|
|
|
namespace Microsoft.Zune.Configuration
|
|
{
|
|
public class UserCardsConfiguration : CConfigurationManagedBase
|
|
{
|
|
public bool CleanupCompleted
|
|
{
|
|
[return: MarshalAs(UnmanagedType.U1)]
|
|
get
|
|
{
|
|
return GetBoolProperty("CleanupCompleted", defaultValue: false);
|
|
}
|
|
[param: MarshalAs(UnmanagedType.U1)]
|
|
set
|
|
{
|
|
SetBoolProperty("CleanupCompleted", value);
|
|
}
|
|
}
|
|
|
|
public long EstimatedUserCardSizeInMB
|
|
{
|
|
get
|
|
{
|
|
return GetInt64Property("EstimatedUserCardSizeInMB", 90L);
|
|
}
|
|
set
|
|
{
|
|
SetInt64Property("EstimatedUserCardSizeInMB", value);
|
|
}
|
|
}
|
|
|
|
public string FriendsFeedUrl
|
|
{
|
|
get
|
|
{
|
|
return GetStringProperty("FriendsFeedUrl", "");
|
|
}
|
|
set
|
|
{
|
|
SetStringProperty("FriendsFeedUrl", value);
|
|
}
|
|
}
|
|
|
|
internal UserCardsConfiguration(RegistryHive hive)
|
|
: base(hive, null, "UserCards")
|
|
{
|
|
}
|
|
|
|
public UserCardsConfiguration(RegistryHive hive, string basePath, string instance)
|
|
: base(hive, basePath, instance)
|
|
{
|
|
}
|
|
}
|
|
}
|