Exemplo n.º 1
0
        public LogUsage(BPFManager.BPFManager bpfMigration)
        {
            this.bpfManager = bpfMigration;

            TelemetryConfiguration.Active.InstrumentationKey = CustomParameter.INSIGHTS_INTRUMENTATIONKEY;
            this.telemetry = new TelemetryClient();
            this.telemetry.Context.Component.Version = BPFManager.BPFManager.CurrentVersion;
            this.telemetry.Context.Device.Id         = this.bpfManager.GetType().Name;
            this.telemetry.Context.User.Id           = Guid.NewGuid().ToString();
        }
Exemplo n.º 2
0
 public Options(BPFManager.BPFManager bpfMigration)
 {
     InitializeComponent();
     this.bpfManager = bpfMigration;
     PopulateSettings(this.bpfManager.settings);
 }