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