PropertyInfo propertyInfo = siginfo.GetType().GetProperty( "ReadOnly", BindingFlags.FlattenHierarchy | BindingFlags.Instance | BindingFlags.Public); if (null != propertyInfo) { // // Remove the readonly property // propertyInfo.SetValue(siginfo, false, null); this.siginfo.CertificateVerificationResults = CertificateVerificationResults.certverresValid; // // Set the ReadOnly property // propertyInfo.SetValue(siginfo, true, null); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)