Wednesday 14 December 2016

C#: Get the version of zeroMQ used in the application

'zmq.version' method gives you the details of zeroMQ executable.

Program.cs

using System;
using ZeroMQ.lib;

namespace zeroMQTutorial
{
   class Program
    {
        static void Main(string[] args)
        {
            int major, minor, patch;
            zmq.version(out major, out minor, out patch);
            Console.WriteLine("{0}.{1}.{2}", major, minor, patch);

        }
    }
}

Output

4.1.5



Previous                                                 Next                                                 Home

No comments:

Post a Comment