Class MmsConfiguration
Configuration of MMS center (MMSC).
Inheritance
System.Object
MmsConfiguration
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Eclo.nF.SIM800H
Assembly: cs.temp.dll.dll
Syntax
public class MmsConfiguration
Constructors
MmsConfiguration()
Empty MMS center configuration.
Declaration
public MmsConfiguration()
MmsConfiguration(String, String, Int32)
MMS center configuration.
Declaration
public MmsConfiguration(string mmsc, string proxy, int proxyPort)
Parameters
Type | Name | Description |
---|---|---|
System.String | mmsc | MMS center URL noteURL without "http://" and/or port number. |
System.String | proxy | MMS Proxy noteMust be an IP address. URLs are not accepted. |
System.Int32 | proxyPort | MMS Proxy port. |
Properties
MMSC
MMS center URL. Can't be null.
note
URL without "http://" and/or port number.
Declaration
public string MMSC { get; }
Property Value
Type | Description |
---|---|
System.String |
Port
Declaration
[Obsolete("Obsolete. Replace with ProxyPort property.")]
public int Port { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Proxy
Proxy. Empty if not used.
note
Must be an IP address. URLs are not accepted.
Declaration
public string Proxy { get; }
Property Value
Type | Description |
---|---|
System.String |
ProxyPort
Proxy port. Default is 80.
Declaration
public int ProxyPort { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Operators
Equality(MmsConfiguration, MmsConfiguration)
Declaration
public static bool operator ==(MmsConfiguration value1, MmsConfiguration value2)
Parameters
Type | Name | Description |
---|---|---|
MmsConfiguration | value1 | |
MmsConfiguration | value2 |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(MmsConfiguration, MmsConfiguration)
Declaration
public static bool operator !=(MmsConfiguration value1, MmsConfiguration value2)
Parameters
Type | Name | Description |
---|---|---|
MmsConfiguration | value1 | |
MmsConfiguration | value2 |
Returns
Type | Description |
---|---|
System.Boolean |