string Org_IpAddress = ips[1].ToString();
For this to work there has to be at least two elements in the array.
if(ips.Length > 0)
{
string Org_IpAddress = ips[0].ToString();
}
if(ips.Length > 1)
{
string Org_IpAddress = ips[1].ToString();
}
In c# the firts valid index is 0 not 1 - it might help to think of index as an offset into the array.
Best regards
Espen Harlinn