/Generated/v2.3.3/Java.Net.cs
https://gitlab.com/Pfhoenix/api · C# · 1215 lines · 453 code · 93 blank · 669 comment · 0 complexity · b3190f7cdc601a4f07ce03f715a67a2a MD5 · raw file
- // Copyright (C) 2014 dot42
- //
- // Original filename: Java.Net.cs
- //
- // Licensed under the Apache License, Version 2.0 (the "License");
- // you may not use this file except in compliance with the License.
- // You may obtain a copy of the License at
- //
- // http://www.apache.org/licenses/LICENSE-2.0
- //
- // Unless required by applicable law or agreed to in writing, software
- // distributed under the License is distributed on an "AS IS" BASIS,
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- // See the License for the specific language governing permissions and
- // limitations under the License.
- #pragma warning disable 1717
- namespace Java.Net
- {
- /// <summary>
- /// <para>This class represents a datagram packet which contains data either to be sent or received through a <c> DatagramSocket </c> . It holds additional information such as its source or destination host.</para><para><para>DatagramSocket </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/DatagramPacket
- /// </java-name>
- [Dot42.DexImport("java/net/DatagramPacket", AccessFlags = 49)]
- public sealed partial class DatagramPacket
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new <c> DatagramPacket </c> object to receive data up to <c> length </c> bytes.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([BI)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] data, int length) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new <c> DatagramPacket </c> object to receive data up to <c> length </c> bytes.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([BI)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] data, int length) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BII)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] sByte, int int32, int int321) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BII)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] @byte, int int32, int int321) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new <c> DatagramPacket </c> object to send data to the port <c> aPort </c> of the address <c> host </c> . The <c> length </c> must be lesser than or equal to the size of <c> data </c> . The first <c> length </c> bytes from the byte array position <c> offset </c> are sent.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([BIILjava/net/InetAddress;I)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] data, int offset, int length, global::Java.Net.InetAddress host, int aPort) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new <c> DatagramPacket </c> object to send data to the port <c> aPort </c> of the address <c> host </c> . The <c> length </c> must be lesser than or equal to the size of <c> data </c> . The first <c> length </c> bytes from the byte array position <c> offset </c> are sent.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "([BIILjava/net/InetAddress;I)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] data, int offset, int length, global::Java.Net.InetAddress host, int aPort) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BILjava/net/InetAddress;I)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] sByte, int int32, global::Java.Net.InetAddress inetAddress, int int321) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BILjava/net/InetAddress;I)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] @byte, int int32, global::Java.Net.InetAddress inetAddress, int int321) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BILjava/net/SocketAddress;)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] sByte, int int32, global::Java.Net.SocketAddress socketAddress) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BILjava/net/SocketAddress;)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] @byte, int int32, global::Java.Net.SocketAddress socketAddress) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BIILjava/net/SocketAddress;)V", AccessFlags = 1)]
- public DatagramPacket(sbyte[] sByte, int int32, int int321, global::Java.Net.SocketAddress socketAddress) /* MethodBuilder.Create */
- {
- }
- [Dot42.DexImport("<init>", "([BIILjava/net/SocketAddress;)V", AccessFlags = 1, IgnoreFromJava = true)]
- public DatagramPacket(byte[] @byte, int int32, int int321, global::Java.Net.SocketAddress socketAddress) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Gets the sender or destination IP address of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the address from where the datagram was received or to which it is sent. </para>
- /// </returns>
- /// <java-name>
- /// getAddress
- /// </java-name>
- [Dot42.DexImport("getAddress", "()Ljava/net/InetAddress;", AccessFlags = 33)]
- public global::Java.Net.InetAddress GetAddress() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.InetAddress);
- }
- /// <summary>
- /// <para>Gets the data of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getData
- /// </java-name>
- [Dot42.DexImport("getData", "()[B", AccessFlags = 33)]
- public sbyte[] JavaGetData() /* MethodBuilder.Create */
- {
- return default(sbyte[]);
- }
- /// <summary>
- /// <para>Gets the data of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getData
- /// </java-name>
- [Dot42.DexImport("getData", "()[B", AccessFlags = 33, IgnoreFromJava = true)]
- public byte[] GetData() /* MethodBuilder.Create */
- {
- return default(byte[]);
- }
- /// <summary>
- /// <para>Gets the length of the data stored in this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the length of the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getLength
- /// </java-name>
- [Dot42.DexImport("getLength", "()I", AccessFlags = 33)]
- public int GetLength() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Gets the offset of the data stored in this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the position of the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getOffset
- /// </java-name>
- [Dot42.DexImport("getOffset", "()I", AccessFlags = 33)]
- public int GetOffset() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Gets the port number of the target or sender host of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the port number of the origin or target host. </para>
- /// </returns>
- /// <java-name>
- /// getPort
- /// </java-name>
- [Dot42.DexImport("getPort", "()I", AccessFlags = 33)]
- public int GetPort() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Sets the IP address of the target host.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setAddress
- /// </java-name>
- [Dot42.DexImport("setAddress", "(Ljava/net/InetAddress;)V", AccessFlags = 33)]
- public void SetAddress(global::Java.Net.InetAddress addr) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the data buffer for this datagram packet. </para>
- /// </summary>
- /// <java-name>
- /// setData
- /// </java-name>
- [Dot42.DexImport("setData", "([BII)V", AccessFlags = 33)]
- public void SetData(sbyte[] data, int offset, int byteCount) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the data buffer for this datagram packet. </para>
- /// </summary>
- /// <java-name>
- /// setData
- /// </java-name>
- [Dot42.DexImport("setData", "([BII)V", AccessFlags = 33, IgnoreFromJava = true)]
- public void SetData(byte[] data, int offset, int byteCount) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the data buffer for this datagram packet. The length of the datagram packet is set to the buffer length.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setData
- /// </java-name>
- [Dot42.DexImport("setData", "([B)V", AccessFlags = 33)]
- public void SetData(sbyte[] buf) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the data buffer for this datagram packet. The length of the datagram packet is set to the buffer length.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setData
- /// </java-name>
- [Dot42.DexImport("setData", "([B)V", AccessFlags = 33, IgnoreFromJava = true)]
- public void SetData(byte[] buf) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the length of the datagram packet. This length plus the offset must be lesser than or equal to the buffer size.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setLength
- /// </java-name>
- [Dot42.DexImport("setLength", "(I)V", AccessFlags = 33)]
- public void SetLength(int length) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Sets the port number of the target host of this datagram packet.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setPort
- /// </java-name>
- [Dot42.DexImport("setPort", "(I)V", AccessFlags = 33)]
- public void SetPort(int aPort) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Gets the host address and the port to which this datagram packet is sent as a <c> SocketAddress </c> object.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SocketAddress of the target host. </para>
- /// </returns>
- /// <java-name>
- /// getSocketAddress
- /// </java-name>
- [Dot42.DexImport("getSocketAddress", "()Ljava/net/SocketAddress;", AccessFlags = 33)]
- public global::Java.Net.SocketAddress GetSocketAddress() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.SocketAddress);
- }
- /// <summary>
- /// <para>Sets the <c> SocketAddress </c> for this datagram packet.</para><para></para>
- /// </summary>
- /// <java-name>
- /// setSocketAddress
- /// </java-name>
- [Dot42.DexImport("setSocketAddress", "(Ljava/net/SocketAddress;)V", AccessFlags = 33)]
- public void SetSocketAddress(global::Java.Net.SocketAddress sockAddr) /* MethodBuilder.Create */
- {
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal DatagramPacket() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <summary>
- /// <para>Gets the sender or destination IP address of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the address from where the datagram was received or to which it is sent. </para>
- /// </returns>
- /// <java-name>
- /// getAddress
- /// </java-name>
- public global::Java.Net.InetAddress Address
- {
- [Dot42.DexImport("getAddress", "()Ljava/net/InetAddress;", AccessFlags = 33)]
- get{ return GetAddress(); }
- [Dot42.DexImport("setAddress", "(Ljava/net/InetAddress;)V", AccessFlags = 33)]
- set{ SetAddress(value); }
- }
- /// <summary>
- /// <para>Gets the data of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getData
- /// </java-name>
- public byte[] Data
- {
- [Dot42.DexImport("getData", "()[B", AccessFlags = 33, IgnoreFromJava = true)]
- get{ return GetData(); }
- [Dot42.DexImport("setData", "([B)V", AccessFlags = 33, IgnoreFromJava = true)]
- set{ SetData(value); }
- }
- /// <summary>
- /// <para>Gets the length of the data stored in this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the length of the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getLength
- /// </java-name>
- public int Length
- {
- [Dot42.DexImport("getLength", "()I", AccessFlags = 33)]
- get{ return GetLength(); }
- [Dot42.DexImport("setLength", "(I)V", AccessFlags = 33)]
- set{ SetLength(value); }
- }
- /// <summary>
- /// <para>Gets the offset of the data stored in this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the position of the received data or the data to be sent. </para>
- /// </returns>
- /// <java-name>
- /// getOffset
- /// </java-name>
- public int Offset
- {
- [Dot42.DexImport("getOffset", "()I", AccessFlags = 33)]
- get{ return GetOffset(); }
- }
- /// <summary>
- /// <para>Gets the port number of the target or sender host of this datagram packet.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the port number of the origin or target host. </para>
- /// </returns>
- /// <java-name>
- /// getPort
- /// </java-name>
- public int Port
- {
- [Dot42.DexImport("getPort", "()I", AccessFlags = 33)]
- get{ return GetPort(); }
- [Dot42.DexImport("setPort", "(I)V", AccessFlags = 33)]
- set{ SetPort(value); }
- }
- /// <summary>
- /// <para>Gets the host address and the port to which this datagram packet is sent as a <c> SocketAddress </c> object.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the SocketAddress of the target host. </para>
- /// </returns>
- /// <java-name>
- /// getSocketAddress
- /// </java-name>
- public global::Java.Net.SocketAddress SocketAddress
- {
- [Dot42.DexImport("getSocketAddress", "()Ljava/net/SocketAddress;", AccessFlags = 33)]
- get{ return GetSocketAddress(); }
- [Dot42.DexImport("setSocketAddress", "(Ljava/net/SocketAddress;)V", AccessFlags = 33)]
- set{ SetSocketAddress(value); }
- }
- }
- /// <summary>
- /// <para>This <c> PortUnreachableException </c> will be thrown if an <c> ICMP_Port_Unreachable </c> message has been received.</para><para>Most applications <b>should not</b> catch this exception; it is more robust to catch the superclass <c> SocketException </c> . </para>
- /// </summary>
- /// <java-name>
- /// java/net/PortUnreachableException
- /// </java-name>
- [Dot42.DexImport("java/net/PortUnreachableException", AccessFlags = 33)]
- public partial class PortUnreachableException : global::Java.Net.SocketException
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Constructs a new instance. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public PortUnreachableException() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Constructs a new instance with the given detail message. </para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;)V", AccessFlags = 1)]
- public PortUnreachableException(string detailMessage) /* MethodBuilder.Create */
- {
- }
- }
- /// <summary>
- /// <para>A response cache entry. A <c> CacheResponse </c> object provides an <c> InputStream </c> to access the response body and a <c> Map </c> for the response headers. <para>ResponseCache </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/CacheResponse
- /// </java-name>
- [Dot42.DexImport("java/net/CacheResponse", AccessFlags = 1057)]
- public abstract partial class CacheResponse
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 1)]
- public CacheResponse() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns an <c> InputStream </c> to access the response body.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an <c> InputStream </c> which can be used to fetch the response body. </para>
- /// </returns>
- /// <java-name>
- /// getBody
- /// </java-name>
- [Dot42.DexImport("getBody", "()Ljava/io/InputStream;", AccessFlags = 1025)]
- public abstract global::Java.Io.InputStream GetBody() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns an immutable <c> Map </c> which contains the response headers information. Note that <c> URLConnection </c> may need the original headers to be able to fully reconstruct the response. In particular, failure to provide a mapping from null to the original HTTP status line will prevent an <c> HttpURLConnection </c> from returning the correct response code. See URLConnection#getHeaderFields.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an immutable <c> Map </c> which contains the response headers. </para>
- /// </returns>
- /// <java-name>
- /// getHeaders
- /// </java-name>
- [Dot42.DexImport("getHeaders", "()Ljava/util/Map;", AccessFlags = 1025, Signature = "()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;")]
- public abstract global::Java.Util.IMap<string, global::Java.Util.IList<string>> GetHeaders() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns an <c> InputStream </c> to access the response body.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an <c> InputStream </c> which can be used to fetch the response body. </para>
- /// </returns>
- /// <java-name>
- /// getBody
- /// </java-name>
- public global::Java.Io.InputStream Body
- {
- [Dot42.DexImport("getBody", "()Ljava/io/InputStream;", AccessFlags = 1025)]
- get{ return GetBody(); }
- }
- /// <summary>
- /// <para>Returns an immutable <c> Map </c> which contains the response headers information. Note that <c> URLConnection </c> may need the original headers to be able to fully reconstruct the response. In particular, failure to provide a mapping from null to the original HTTP status line will prevent an <c> HttpURLConnection </c> from returning the correct response code. See URLConnection#getHeaderFields.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>an immutable <c> Map </c> which contains the response headers. </para>
- /// </returns>
- /// <java-name>
- /// getHeaders
- /// </java-name>
- public global::Java.Util.IMap<string, global::Java.Util.IList<string>> Headers
- {
- [Dot42.DexImport("getHeaders", "()Ljava/util/Map;", AccessFlags = 1025, Signature = "()Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;")]
- get{ return GetHeaders(); }
- }
- }
- /// <summary>
- /// <para>This class is used to represent a network interface of the local device. An interface is defined by its address and a platform dependent name. The class provides methods to get all information about the available interfaces of the system or to identify the local interface of a joined multicast group. </para>
- /// </summary>
- /// <java-name>
- /// java/net/NetworkInterface
- /// </java-name>
- [Dot42.DexImport("java/net/NetworkInterface", AccessFlags = 49)]
- public sealed partial class NetworkInterface
- /* scope: __dot42__ */
- {
- [Dot42.DexImport("<init>", "()V", AccessFlags = 0)]
- internal NetworkInterface() /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Returns the name of this network interface (such as "eth0" or "lo"). </para>
- /// </summary>
- /// <java-name>
- /// getName
- /// </java-name>
- [Dot42.DexImport("getName", "()Ljava/lang/String;", AccessFlags = 1)]
- public string GetName() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns an enumeration of the addresses bound to this network interface. </para>
- /// </summary>
- /// <java-name>
- /// getInetAddresses
- /// </java-name>
- [Dot42.DexImport("getInetAddresses", "()Ljava/util/Enumeration;", AccessFlags = 1, Signature = "()Ljava/util/Enumeration<Ljava/net/InetAddress;>;")]
- public global::Java.Util.IEnumeration<global::Java.Net.InetAddress> GetInetAddresses() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.IEnumeration<global::Java.Net.InetAddress>);
- }
- /// <summary>
- /// <para>Returns a human-readable name for this network interface. On Android, this is the same string as returned by getName. </para>
- /// </summary>
- /// <java-name>
- /// getDisplayName
- /// </java-name>
- [Dot42.DexImport("getDisplayName", "()Ljava/lang/String;", AccessFlags = 1)]
- public string GetDisplayName() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the <c> NetworkInterface </c> corresponding to the named network interface, or null if no interface has this name.</para><para></para>
- /// </summary>
- /// <java-name>
- /// getByName
- /// </java-name>
- [Dot42.DexImport("getByName", "(Ljava/lang/String;)Ljava/net/NetworkInterface;", AccessFlags = 9)]
- public static global::Java.Net.NetworkInterface GetByName(string interfaceName) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.NetworkInterface);
- }
- /// <summary>
- /// <para>Returns the <c> NetworkInterface </c> corresponding to the given address, or null if no interface has this address.</para><para></para>
- /// </summary>
- /// <java-name>
- /// getByInetAddress
- /// </java-name>
- [Dot42.DexImport("getByInetAddress", "(Ljava/net/InetAddress;)Ljava/net/NetworkInterface;", AccessFlags = 9)]
- public static global::Java.Net.NetworkInterface GetByInetAddress(global::Java.Net.InetAddress address) /* MethodBuilder.Create */
- {
- return default(global::Java.Net.NetworkInterface);
- }
- /// <summary>
- /// <para>Gets a list of all network interfaces available on the local system or <c> null </c> if no interface is available.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of <c> NetworkInterface </c> instances representing the available interfaces. </para>
- /// </returns>
- /// <java-name>
- /// getNetworkInterfaces
- /// </java-name>
- [Dot42.DexImport("getNetworkInterfaces", "()Ljava/util/Enumeration;", AccessFlags = 9, Signature = "()Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;")]
- public static global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface> GetNetworkInterfaces() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface>);
- }
- /// <summary>
- /// <para>Compares the specified object to this <c> NetworkInterface </c> and returns whether they are equal or not. The object must be an instance of <c> NetworkInterface </c> with the same name, display name, and list of interface addresses.</para><para><para>hashCode() </para></para>
- /// </summary>
- /// <returns>
- /// <para><c> true </c> if the specified object is equal to this <c> NetworkInterface </c> , <c> false </c> otherwise. </para>
- /// </returns>
- /// <java-name>
- /// equals
- /// </java-name>
- [Dot42.DexImport("equals", "(Ljava/lang/Object;)Z", AccessFlags = 1)]
- public override bool Equals(object obj) /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the hash code for this <c> NetworkInterface </c> . Since the name should be unique for each network interface the hash code is generated using the name. </para>
- /// </summary>
- /// <java-name>
- /// hashCode
- /// </java-name>
- [Dot42.DexImport("hashCode", "()I", AccessFlags = 1)]
- public override int GetHashCode() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns a string containing details of this network interface. The exact format is deliberately unspecified. Callers that require a specific format should build a string themselves, using this class' accessor methods. </para>
- /// </summary>
- /// <java-name>
- /// toString
- /// </java-name>
- [Dot42.DexImport("toString", "()Ljava/lang/String;", AccessFlags = 1)]
- public override string ToString() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns a List of the InterfaceAddresses for this network interface. <para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// getInterfaceAddresses
- /// </java-name>
- [Dot42.DexImport("getInterfaceAddresses", "()Ljava/util/List;", AccessFlags = 1, Signature = "()Ljava/util/List<Ljava/net/InterfaceAddress;>;")]
- public global::Java.Util.IList<global::Java.Net.InterfaceAddress> GetInterfaceAddresses() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.IList<global::Java.Net.InterfaceAddress>);
- }
- /// <summary>
- /// <para>Returns an enumeration of all the sub-interfaces of this network interface. Sub-interfaces are also known as virtual interfaces.</para><para>For example, <c> eth0:1 </c> would be a sub-interface of <c> eth0 </c> .</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>an Enumeration of all the sub-interfaces of this network interface </para>
- /// </returns>
- /// <java-name>
- /// getSubInterfaces
- /// </java-name>
- [Dot42.DexImport("getSubInterfaces", "()Ljava/util/Enumeration;", AccessFlags = 1, Signature = "()Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;")]
- public global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface> GetSubInterfaces() /* MethodBuilder.Create */
- {
- return default(global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface>);
- }
- /// <summary>
- /// <para>Returns the parent NetworkInterface of this interface if this is a sub-interface, or null if it's a physical (non virtual) interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>the NetworkInterface this interface is attached to. </para>
- /// </returns>
- /// <java-name>
- /// getParent
- /// </java-name>
- [Dot42.DexImport("getParent", "()Ljava/net/NetworkInterface;", AccessFlags = 1)]
- public global::Java.Net.NetworkInterface GetParent() /* MethodBuilder.Create */
- {
- return default(global::Java.Net.NetworkInterface);
- }
- /// <summary>
- /// <para>Returns true if this network interface is up.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>true if the interface is up. </para>
- /// </returns>
- /// <java-name>
- /// isUp
- /// </java-name>
- [Dot42.DexImport("isUp", "()Z", AccessFlags = 1)]
- public bool IsUp() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns true if this network interface is a loopback interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>true if the interface is a loopback interface. </para>
- /// </returns>
- /// <java-name>
- /// isLoopback
- /// </java-name>
- [Dot42.DexImport("isLoopback", "()Z", AccessFlags = 1)]
- public bool IsLoopback() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns true if this network interface is a point-to-point interface. (For example, a PPP connection using a modem.)</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>true if the interface is point-to-point. </para>
- /// </returns>
- /// <java-name>
- /// isPointToPoint
- /// </java-name>
- [Dot42.DexImport("isPointToPoint", "()Z", AccessFlags = 1)]
- public bool IsPointToPoint() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns true if this network interface supports multicast.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// supportsMulticast
- /// </java-name>
- [Dot42.DexImport("supportsMulticast", "()Z", AccessFlags = 1)]
- public bool SupportsMulticast() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the hardware address of the interface, if it has one, or null otherwise.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// getHardwareAddress
- /// </java-name>
- [Dot42.DexImport("getHardwareAddress", "()[B", AccessFlags = 1)]
- public sbyte[] JavaGetHardwareAddress() /* MethodBuilder.Create */
- {
- return default(sbyte[]);
- }
- /// <summary>
- /// <para>Returns the hardware address of the interface, if it has one, or null otherwise.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// getHardwareAddress
- /// </java-name>
- [Dot42.DexImport("getHardwareAddress", "()[B", AccessFlags = 1, IgnoreFromJava = true)]
- public byte[] GetHardwareAddress() /* MethodBuilder.Create */
- {
- return default(byte[]);
- }
- /// <summary>
- /// <para>Returns the Maximum Transmission Unit (MTU) of this interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>the value of the MTU for the interface. </para>
- /// </returns>
- /// <java-name>
- /// getMTU
- /// </java-name>
- [Dot42.DexImport("getMTU", "()I", AccessFlags = 1)]
- public int GetMTU() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns true if this interface is a virtual interface (also called a sub-interface). Virtual interfaces are, on some systems, interfaces created as a child of a physical interface and given different settings (like address or MTU). Usually the name of the interface will the name of the parent followed by a colon (:) and a number identifying the child, since there can be several virtual interfaces attached to a single physical interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>true if this interface is a virtual interface. </para>
- /// </returns>
- /// <java-name>
- /// isVirtual
- /// </java-name>
- [Dot42.DexImport("isVirtual", "()Z", AccessFlags = 1)]
- public bool IsVirtual() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns the name of this network interface (such as "eth0" or "lo"). </para>
- /// </summary>
- /// <java-name>
- /// getName
- /// </java-name>
- public string Name
- {
- [Dot42.DexImport("getName", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetName(); }
- }
- /// <summary>
- /// <para>Returns an enumeration of the addresses bound to this network interface. </para>
- /// </summary>
- /// <java-name>
- /// getInetAddresses
- /// </java-name>
- public global::Java.Util.IEnumeration<global::Java.Net.InetAddress> InetAddresses
- {
- [Dot42.DexImport("getInetAddresses", "()Ljava/util/Enumeration;", AccessFlags = 1, Signature = "()Ljava/util/Enumeration<Ljava/net/InetAddress;>;")]
- get{ return GetInetAddresses(); }
- }
- /// <summary>
- /// <para>Returns a human-readable name for this network interface. On Android, this is the same string as returned by getName. </para>
- /// </summary>
- /// <java-name>
- /// getDisplayName
- /// </java-name>
- public string DisplayName
- {
- [Dot42.DexImport("getDisplayName", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetDisplayName(); }
- }
- /// <summary>
- /// <para>Gets a list of all network interfaces available on the local system or <c> null </c> if no interface is available.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the list of <c> NetworkInterface </c> instances representing the available interfaces. </para>
- /// </returns>
- /// <java-name>
- /// getNetworkInterfaces
- /// </java-name>
- public static global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface> NetworkInterfaces
- {
- [Dot42.DexImport("getNetworkInterfaces", "()Ljava/util/Enumeration;", AccessFlags = 9, Signature = "()Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;")]
- get{ return GetNetworkInterfaces(); }
- }
- /// <summary>
- /// <para>Returns a List of the InterfaceAddresses for this network interface. <para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// getInterfaceAddresses
- /// </java-name>
- public global::Java.Util.IList<global::Java.Net.InterfaceAddress> InterfaceAddresses
- {
- [Dot42.DexImport("getInterfaceAddresses", "()Ljava/util/List;", AccessFlags = 1, Signature = "()Ljava/util/List<Ljava/net/InterfaceAddress;>;")]
- get{ return GetInterfaceAddresses(); }
- }
- /// <summary>
- /// <para>Returns an enumeration of all the sub-interfaces of this network interface. Sub-interfaces are also known as virtual interfaces.</para><para>For example, <c> eth0:1 </c> would be a sub-interface of <c> eth0 </c> .</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>an Enumeration of all the sub-interfaces of this network interface </para>
- /// </returns>
- /// <java-name>
- /// getSubInterfaces
- /// </java-name>
- public global::Java.Util.IEnumeration<global::Java.Net.NetworkInterface> SubInterfaces
- {
- [Dot42.DexImport("getSubInterfaces", "()Ljava/util/Enumeration;", AccessFlags = 1, Signature = "()Ljava/util/Enumeration<Ljava/net/NetworkInterface;>;")]
- get{ return GetSubInterfaces(); }
- }
- /// <summary>
- /// <para>Returns the parent NetworkInterface of this interface if this is a sub-interface, or null if it's a physical (non virtual) interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>the NetworkInterface this interface is attached to. </para>
- /// </returns>
- /// <java-name>
- /// getParent
- /// </java-name>
- public global::Java.Net.NetworkInterface Parent
- {
- [Dot42.DexImport("getParent", "()Ljava/net/NetworkInterface;", AccessFlags = 1)]
- get{ return GetParent(); }
- }
- /// <summary>
- /// <para>Returns the hardware address of the interface, if it has one, or null otherwise.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <java-name>
- /// getHardwareAddress
- /// </java-name>
- public byte[] HardwareAddress
- {
- [Dot42.DexImport("getHardwareAddress", "()[B", AccessFlags = 1, IgnoreFromJava = true)]
- get{ return GetHardwareAddress(); }
- }
- /// <summary>
- /// <para>Returns the Maximum Transmission Unit (MTU) of this interface.</para><para><para>1.6 </para></para>
- /// </summary>
- /// <returns>
- /// <para>the value of the MTU for the interface. </para>
- /// </returns>
- /// <java-name>
- /// getMTU
- /// </java-name>
- public int MTU
- {
- [Dot42.DexImport("getMTU", "()I", AccessFlags = 1)]
- get{ return GetMTU(); }
- }
- }
- /// <summary>
- /// <para>This immutable class is a data structure that encapsulates username and password which is used by the <c> Authenticator </c> class.</para><para><para>Authenticator </para></para>
- /// </summary>
- /// <java-name>
- /// java/net/PasswordAuthentication
- /// </java-name>
- [Dot42.DexImport("java/net/PasswordAuthentication", AccessFlags = 49)]
- public sealed partial class PasswordAuthentication
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>Creates an instance of a password authentication with a specified username and password.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/lang/String;[C)V", AccessFlags = 1)]
- public PasswordAuthentication(string userName, char[] password) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Gets a clone of the password stored by this instance. The user is responsible to finalize the returned array if the password clone is no longer needed.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the copied password. </para>
- /// </returns>
- /// <java-name>
- /// getPassword
- /// </java-name>
- [Dot42.DexImport("getPassword", "()[C", AccessFlags = 1)]
- public char[] GetPassword() /* MethodBuilder.Create */
- {
- return default(char[]);
- }
- /// <summary>
- /// <para>Gets the username stored by this instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the stored username. </para>
- /// </returns>
- /// <java-name>
- /// getUserName
- /// </java-name>
- [Dot42.DexImport("getUserName", "()Ljava/lang/String;", AccessFlags = 1)]
- public string GetUserName() /* MethodBuilder.Create */
- {
- return default(string);
- }
- [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
- internal PasswordAuthentication() /* TypeBuilder.AddDefaultConstructor */
- {
- }
- /// <summary>
- /// <para>Gets a clone of the password stored by this instance. The user is responsible to finalize the returned array if the password clone is no longer needed.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the copied password. </para>
- /// </returns>
- /// <java-name>
- /// getPassword
- /// </java-name>
- public char[] Password
- {
- [Dot42.DexImport("getPassword", "()[C", AccessFlags = 1)]
- get{ return GetPassword(); }
- }
- /// <summary>
- /// <para>Gets the username stored by this instance.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the stored username. </para>
- /// </returns>
- /// <java-name>
- /// getUserName
- /// </java-name>
- public string UserName
- {
- [Dot42.DexImport("getUserName", "()Ljava/lang/String;", AccessFlags = 1)]
- get{ return GetUserName(); }
- }
- }
- /// <summary>
- /// <para>A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for documentation of HTTP-specific features.</para><para>For example, to retrieve <c> ftp://mirror.csclub.uwaterloo.ca/index.html </c> : <pre> URL url = new URL("ftp://mirror.csclub.uwaterloo.ca/index.html");
- ///
- /// URLConnection urlConnection = url.openConnection();
- ///
- /// InputStream in = new BufferedInputStream(urlConnection.getInputStream());
- ///
- /// try {
- ///
- /// readStream(in);
- ///
- /// } finally {
- ///
- /// in.close();
- ///
- /// }
- ///
- /// </pre></para><para><c> URLConnection </c> must be configured before it has connected to the remote resource. Instances of <c> URLConnection </c> are not reusable: you must use a different instance for each connection to a resource.</para><para><h3>Timeouts</h3></para><para><c> URLConnection </c> supports two timeouts: a connect timeout and a read timeout. By default, operations never time out.</para><para><h3>Built-in Protocols</h3></para><para><ul><li><para><b>File</b><br></br> Resources from the local file system can be loaded using <c> file: </c> URIs. File connections can only be used for input. </para></li><li><para><b>FTP</b><br></br> File Transfer Protocol () is supported, but with no public subclass. FTP connections can be used for input or output but not both. </para><para>By default, FTP connections will be made using <c> anonymous </c> as the username and the empty string as the password. Specify alternate usernames and passwords in the URL: <c> ftp://username:password@host/path </c> . </para></li><li><para><b>HTTP and HTTPS</b><br></br> Refer to the HttpURLConnection and HttpsURLConnection subclasses. </para></li><li><para><b>Jar</b><br></br> Refer to the JarURLConnection subclass. </para></li></ul></para><para><h3>Registering Additional Protocols</h3></para><para>Use URL#setURLStreamHandlerFactory to register handlers for other protocol types. </para>
- /// </summary>
- /// <java-name>
- /// java/net/URLConnection
- /// </java-name>
- [Dot42.DexImport("java/net/URLConnection", AccessFlags = 1057)]
- public abstract partial class URLConnection
- /* scope: __dot42__ */
- {
- /// <summary>
- /// <para>The URL which represents the remote target of this <c> URLConnection </c> . </para>
- /// </summary>
- /// <java-name>
- /// url
- /// </java-name>
- [Dot42.DexImport("url", "Ljava/net/URL;", AccessFlags = 4)]
- protected internal global::Java.Net.URL Url;
- /// <summary>
- /// <para>The data must be modified more recently than this time in milliseconds since January 1, 1970, GMT to be transmitted. </para>
- /// </summary>
- /// <java-name>
- /// ifModifiedSince
- /// </java-name>
- [Dot42.DexImport("ifModifiedSince", "J", AccessFlags = 4)]
- protected internal long IfModifiedSince;
- /// <summary>
- /// <para>Specifies whether the using of caches is enabled or the data has to be recent for every request. </para>
- /// </summary>
- /// <java-name>
- /// useCaches
- /// </java-name>
- [Dot42.DexImport("useCaches", "Z", AccessFlags = 4)]
- protected internal bool UseCaches;
- /// <summary>
- /// <para>Specifies whether this <c> URLConnection </c> is already connected to the remote resource. If this field is set to <c> true </c> the flags for setting up the connection are not changeable anymore. </para>
- /// </summary>
- /// <java-name>
- /// connected
- /// </java-name>
- [Dot42.DexImport("connected", "Z", AccessFlags = 4)]
- protected internal bool Connected;
- /// <summary>
- /// <para>Specifies whether this <c> URLConnection </c> allows sending data. </para>
- /// </summary>
- /// <java-name>
- /// doOutput
- /// </java-name>
- [Dot42.DexImport("doOutput", "Z", AccessFlags = 4)]
- protected internal bool DoOutput;
- /// <summary>
- /// <para>Specifies whether this <c> URLConnection </c> allows receiving data. </para>
- /// </summary>
- /// <java-name>
- /// doInput
- /// </java-name>
- [Dot42.DexImport("doInput", "Z", AccessFlags = 4)]
- protected internal bool DoInput;
- /// <summary>
- /// <para>Unused by Android. This field can be accessed via getAllowUserInteraction and setAllowUserInteraction. </para>
- /// </summary>
- /// <java-name>
- /// allowUserInteraction
- /// </java-name>
- [Dot42.DexImport("allowUserInteraction", "Z", AccessFlags = 4)]
- protected internal bool AllowUserInteraction;
- /// <summary>
- /// <para>Creates a new <c> URLConnection </c> instance pointing to the resource specified by the given URL.</para><para></para>
- /// </summary>
- [Dot42.DexImport("<init>", "(Ljava/net/URL;)V", AccessFlags = 4)]
- protected internal URLConnection(global::Java.Net.URL url) /* MethodBuilder.Create */
- {
- }
- /// <summary>
- /// <para>Opens a connection to the resource. This method will <b>not</b> reconnect to a resource after the initial connection has been closed.</para><para></para>
- /// </summary>
- /// <java-name>
- /// connect
- /// </java-name>
- [Dot42.DexImport("connect", "()V", AccessFlags = 1025)]
- public abstract void Connect() /* MethodBuilder.Create */ ;
- /// <summary>
- /// <para>Returns <c> allowUserInteraction </c> . Unused by Android. </para>
- /// </summary>
- /// <java-name>
- /// getAllowUserInteraction
- /// </java-name>
- [Dot42.DexImport("getAllowUserInteraction", "()Z", AccessFlags = 1)]
- public virtual bool GetAllowUserInteraction() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns an object representing the content of the resource this <c> URLConnection </c> is connected to. First, it attempts to get the content type from the method <c> getContentType() </c> which looks at the response header field "Content-Type". If none is found it will guess the content type from the filename extension. If that fails the stream itself will be used to guess the content type.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the content representing object. </para>
- /// </returns>
- /// <java-name>
- /// getContent
- /// </java-name>
- [Dot42.DexImport("getContent", "()Ljava/lang/Object;", AccessFlags = 1)]
- public virtual object GetContent() /* MethodBuilder.Create */
- {
- return default(object);
- }
- /// <summary>
- /// <para>Returns an object representing the content of the resource this <c> URLConnection </c> is connected to. First, it attempts to get the content type from the method <c> getContentType() </c> which looks at the response header field "Content-Type". If none is found it will guess the content type from the filename extension. If that fails the stream itself will be used to guess the content type. The content type must match with one of the list <c> types </c> .</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the content representing object or <c> null </c> if the content type does not match with one of the specified types. </para>
- /// </returns>
- /// <java-name>
- /// getContent
- /// </java-name>
- [Dot42.DexImport("getContent", "([Ljava/lang/Class;)Ljava/lang/Object;", AccessFlags = 1)]
- public virtual object GetContent(global::System.Type[] types) /* MethodBuilder.Create */
- {
- return default(object);
- }
- /// <summary>
- /// <para>Returns the content encoding type specified by the response header field <c> content-encoding </c> or <c> null </c> if this field is not set.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the value of the response header field <c> content-encoding </c> . </para>
- /// </returns>
- /// <java-name>
- /// getContentEncoding
- /// </java-name>
- [Dot42.DexImport("getContentEncoding", "()Ljava/lang/String;", AccessFlags = 1)]
- public virtual string GetContentEncoding() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the content length in bytes specified by the response header field <c> content-length </c> or <c> -1 </c> if this field is not set.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the value of the response header field <c> content-length </c> . </para>
- /// </returns>
- /// <java-name>
- /// getContentLength
- /// </java-name>
- [Dot42.DexImport("getContentLength", "()I", AccessFlags = 1)]
- public virtual int GetContentLength() /* MethodBuilder.Create */
- {
- return default(int);
- }
- /// <summary>
- /// <para>Returns the MIME-type of the content specified by the response header field <c> content-type </c> or <c> null </c> if type is unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the value of the response header field <c> content-type </c> . </para>
- /// </returns>
- /// <java-name>
- /// getContentType
- /// </java-name>
- [Dot42.DexImport("getContentType", "()Ljava/lang/String;", AccessFlags = 1)]
- public virtual string GetContentType() /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>Returns the timestamp when this response has been sent as a date in milliseconds since January 1, 1970 GMT or <c> 0 </c> if this timestamp is unknown.</para><para></para>
- /// </summary>
- /// <returns>
- /// <para>the sending timestamp of the current response. </para>
- /// </returns>
- /// <java-name>
- /// getDate
- /// </java-name>
- [Dot42.DexImport("getDate", "()J", AccessFlags = 1)]
- public virtual long GetDate() /* MethodBuilder.Create */
- {
- return default(long);
- }
- /// <summary>
- /// <para>Returns the default value of <c> allowUserInteraction </c> . Unused by Android. </para>
- /// </summary>
- /// <java-name>
- /// getDefaultAllowUserInteraction
- /// </java-name>
- [Dot42.DexImport("getDefaultAllowUserInteraction", "()Z", AccessFlags = 9)]
- public static bool GetDefaultAllowUserInteraction() /* MethodBuilder.Create */
- {
- return default(bool);
- }
- /// <summary>
- /// <para>Returns null.</para><para><xrefsect><xreftitle>Deprecated</xreftitle><xrefdescription><para>Use getRequestProperty </para></xrefdescription></xrefsect></para>
- /// </summary>
- /// <java-name>
- /// getDefaultRequestProperty
- /// </java-name>
- [Dot42.DexImport("getDefaultRequestProperty", "(Ljava/lang/String;)Ljava/lang/String;", AccessFlags = 9)]
- public static string GetDefaultRequestProperty(string field) /* MethodBuilder.Create */
- {
- return default(string);
- }
- /// <summary>
- /// <para>R