예제 #1
0
        private void ImportDataForm_Load(object sender, EventArgs e)
        {
            branchCacheVersionComboBox.Items.Add(BranchCacheVersion.V1);
            branchCacheVersionComboBox.Items.Add(BranchCacheVersion.V2);
            branchCacheVersionComboBox.SelectedIndex = 0;

            operationModeComboBox.Items.Add(OperationMode.RemoteHashVerification);
            operationModeComboBox.Items.Add(OperationMode.LocalHashGeneration);
            operationModeComboBox.SelectedIndex = 0;

            transportComboBox.Items.Add(ContentInformationTransport.PCCRTP);
            transportComboBox.Items.Add(ContentInformationTransport.SMB2);
            transportComboBox.SelectedIndex = 0;

            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA256);
            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA384);
            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA512);
            hashAlgorithmComboBox.SelectedIndex = 0;

            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Negotiate);
            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Kerberos);
            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Ntlm);
            smb2AuthenticationComboBox.SelectedIndex = 0;

            logger = new RichTextBoxLogger(logRichTextBox);
        }
        private void ImportDataForm_Load(object sender, EventArgs e)
        {
            branchCacheVersionComboBox.Items.Add(BranchCacheVersion.V1);
            branchCacheVersionComboBox.Items.Add(BranchCacheVersion.V2);
            branchCacheVersionComboBox.SelectedIndex = 0;

            operationModeComboBox.Items.Add(OperationMode.RemoteHashVerification);
            operationModeComboBox.Items.Add(OperationMode.LocalHashGeneration);
            operationModeComboBox.SelectedIndex = 0;

            transportComboBox.Items.Add(ContentInformationTransport.PCCRTP);
            transportComboBox.Items.Add(ContentInformationTransport.SMB2);
            transportComboBox.SelectedIndex = 0;

            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA256);
            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA384);
            hashAlgorithmComboBox.Items.Add(dwHashAlgo_Values.SHA512);
            hashAlgorithmComboBox.SelectedIndex = 0;

            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Negotiate);
            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Kerberos);
            smb2AuthenticationComboBox.Items.Add(SecurityPackageType.Ntlm);
            smb2AuthenticationComboBox.SelectedIndex = 0;

            logger = new RichTextBoxLogger(logRichTextBox);
        }