Class RemoteCandidate
An SDP remote candidate element.
Inheritance
System.Object
    RemoteCandidate
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: FM.LiveSwitch.Sdp.Ice
Assembly: FM.LiveSwitch.dll
Syntax
public class RemoteCandidateConstructors
RemoteCandidate(Int32, String, Int32)
Initializes a new instance of the RemoteCandidate class.
Declaration
public RemoteCandidate(int componentId, string connectionAddress, int port)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | componentId | The ID of the component for which this is a remote candidate. | 
| System.String | connectionAddress | The IP address of the remote candidate. | 
| System.Int32 | port | The port of the remote candidate. | 
Properties
ComponentId
Gets or sets the ID of the component for which this is a remote candidate.
Declaration
public int ComponentId { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
ConnectionAddress
Gets or sets the IP address of the remote candidate.
Declaration
public string ConnectionAddress { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Port
Gets or sets the port of the remote candidate.
Declaration
public int Port { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
Parse(String)
Creates an RemoteCandidate instance from a string.
Declaration
public static RemoteCandidate Parse(string s)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | s | The string to parse. | 
Returns
| Type | Description | 
|---|---|
| RemoteCandidate | 
ToString()
Converts this instance to a string.
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()