Specifies that the URI is accessed through the File Transfer Protocol (FTP).
using System;
publicclass MainClass{
publicstaticvoid Main(){
Uri address7 = new Uri("ftp://yourDomain/files/testfile.txt");
if (address7.Scheme == Uri.UriSchemeFtp)
Console.WriteLine("Uri is Ftp protocol");
}
}