Example #1
0
 public static int RemoveLiveFeatureUsageSubscriptions(List <FeatureUsageSubscription> subscriptions)
 {
     return(NativeMethods.RtlUnsubscribeFromFeatureUsageNotifications(RtlDataHelpers.SerializeFeatureUsageSubscriptions(subscriptions), subscriptions.Count));
 }
Example #2
0
 public static int AddFeatureUsageSubscriptions(List <FeatureUsageSubscription> subscriptions)
 {
     return(NativeMethods.RtlSubscribeForFeatureUsageNotification(RtlDataHelpers.SerializeFeatureUsageSubscriptions(subscriptions), subscriptions.Count));
 }