Exemplo n.º 1
0
        static void Main(string[] args)
        {
            CommandLineInterface.EnsureAdminRights();

            SetInfo(new ServiceInfo("BamFileChunker", "Bam File Chunker", "Bam File Chunker: chunks files and serves chunks"));

            if (!ProcessCommandLineArgs(args))
            {
                RunService <Chunker>();
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            CommandLineInterface.EnsureAdminRights();

            SetInfo(new ServiceInfo("BamHttpServer", "Bam Http Server", "Bam http application server"));

            if (!ProcessCommandLineArgs(args))
            {
                RunService <Program>();
            }
        }