Austin.Linode.LinodeClient.Linode_Ip_SetRDns C# (CSharp) Method

Linode_Ip_SetRDns() public method

Sets the rDNS name of a Public IP. Returns the IPAddressID and IPAddress that were updated.
possible errors: NOTFOUND,VALIDATION
public Linode_Ip_SetRDns ( string Hostname, int IPAddressID ) : void
Hostname string The hostname to set the reverse DNS to
IPAddressID int The IPAddressID of the address to update
return void
        public void Linode_Ip_SetRDns(
                string Hostname,
                int IPAddressID)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("Hostname", Hostname);
            myParams.Add("IPAddressID", IPAddressID.ToString(CultureInfo.InvariantCulture));
            GetResponse<object>("linode.ip.setrdns", myParams);
        }