CertificateResponseCollection Class

Namespace: System.Net.Security

Represents a collection of CertificateResponse objects.

Syntax

public class CertificateResponseCollection : System.Collections.CollectionBase
Public Class CertificateResponseCollection Inherits System.Collections.CollectionBase

Remarks

The CertificateResponseCollection class is used to store and manage multiple CertificateResponse objects. This collection is typically used when multiple certificate responses are expected or need to be processed.

Inheritance Hierarchy

System.Object
System.Collections.CollectionBase
CertificateResponseCollection

Members

Constructors

Name Description
CertificateResponseCollection() Initializes a new instance of the CertificateResponseCollection class.

Properties

Name Description
Count Gets the number of elements contained in the CollectionBase instance.
Item(Int32) Gets or sets the element at the specified index.

Methods

Name Description
Add(CertificateResponse) Adds a CertificateResponse object to the end of the CertificateResponseCollection.
Clear() Removes all elements from the CertificateResponseCollection.
Contains(CertificateResponse) Determines whether a specified CertificateResponse object is in the CertificateResponseCollection.
CopyTo(CertificateResponse[], Int32) Copies the entire CertificateResponseCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
IndexOf(CertificateResponse) Returns the zero-based index of the first occurrence of a value in the entire CertificateResponseCollection or in a range of elements in the CertificateResponseCollection.
Insert(Int32, CertificateResponse) Inserts a CertificateResponse object at the specified zero-based index of the CertificateResponseCollection.
Remove(CertificateResponse) Removes the first occurrence of a specified CertificateResponse object from the CertificateResponseCollection.
RemoveAt(Int32) Removes the element at the specified index of the CertificateResponseCollection.

See Also