Catalog.FilePort

Gets the server's file port value.

Syntax

public ushort FilePort { get; }

Remarks

Returns the server's file port value as ushort, previously initialized in “Connect(..)” method.

Examples

using CatalogAPI;

namespace MyApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Catalog cat = new Catalog();
            cat.Connect("192.168.0.1", 2000, 3000, "abcde");
            ushort filePort = cat.FilePort;
            
            Console.WriteLine(filePort.ToString());
            Console.Read();
        }
    }
}

----------------------------------------------------------------------------------------------
Output:
  3000