public string ToXML()
{
StringBuilder result = new StringBuilder("<AcitivityIOPath>");
result.Append("<TypeOf>" + PathType + "</TypeOf>");
result.Append("<Path>" + Path + "</Path>");
result.Append("<Username>" + Username + "</Username>");
result.Append("<Password>" + Password + "</Password>");
result.Append("</AcitivityIOPath>");
return result.ToString();
}