コード例 #1
0
        private static void ReportManually()
        {
            Console.WriteLine("You can also call `SmartAssembly.ReportUsage.UsageCounter.ReportUsage` method to manually report usage of a feature.");
            UsageCounter.ReportUsage("manually reported feature");

            Console.WriteLine("You can also call `SmartAssembly.ReportUsage.PlatformData.*` methods to report additional information about the user's machine.");
            PlatformData.ReportNumberOfMonitors();
        }