|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Access members of generic typesDim policies As Microsoft.Web.Services3.Design.Policies policies = Microsoft.Web.Services3.Configuration.WebServicesConfiguration.PolicyConfiguration.GetPolicies() Dim assertion As Microsoft.Web.Services3.Design.UsernameForCertificateAssertion assertion = CType(policies("ClientPolicy").Assertions(0), Microsoft.Web.Services3.Design.UsernameForCertificateAssertion) Dim x509TokenProvider As Microsoft.Web.Services3.Design.TokenProvider(Of Microsoft.Web.Services3.Security.Tokens.X509SecurityToken) x509TokenProvider = assertion.X509TokenProvider When debugging and is looking at the variable x509TokenProvider in the Watch, i see following nicy, nicy information. - x509TokenProvider {Microsoft.Web.Services3.Design.X509TokenProvider} Microsoft.Web.Services3.Design.TokenProvider(Of Microsoft.Web.Services3.Security.Tokens.X509SecurityToken) FindType FindBySubjectDistinguishedName {2} System.Security.Cryptography.X509Certificates.X509FindType How can I access the value FindType. It doesn´t show up in intellisense. How do a access the attributes on these types of "geniric types" ?? Benjamin, Sweden |
|||||||||||||||||||||||