public static Configuration Adx(Options options, Configuration inConfig = null) { AdxConfiguration config = inConfig as AdxConfiguration ?? new AdxConfiguration(); if (options.Version != 0) { config.Version = options.Version; } if (options.FrameSize != 0) { config.FrameSize = options.FrameSize; } if (options.Filter >= 0 && options.Filter <= 3) { config.Filter = options.Filter; } if (options.AdxType != default(CriAdxType)) { config.Type = options.AdxType; } if (options.KeyString != null) { config.EncryptionKey = new CriAdxKey(options.KeyString); config.EncryptionType = 8; } if (options.KeyCode != 0) { config.EncryptionKey = new CriAdxKey(options.KeyCode); config.EncryptionType = 9; } return(config); }
public ADXExporter(AdxConfiguration configuration = null) { _configuration = configuration; }