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(); }
public Options(BPFManager.BPFManager bpfMigration) { InitializeComponent(); this.bpfManager = bpfMigration; PopulateSettings(this.bpfManager.settings); }