Sample client

Your first class:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.openkm.sdk4csharp;
using com.openkm.sdk4csharp.bean;

namespace OKMRest
{
    class Program
    {
        /**
        * Sample OpenKM JDK client
        */
        static void Main(string[] args)
        {
            String host = "http://localhost:8080/OpenKM";
            String username = "okmAdmin";
            String password = "admin";
            OKMWebservice ws = OKMWebservicesFactory.newInstance(host, username, password);
try { foreach(Folder fld in ws.getFolderChildren("/okm:root")) { System.Console.WriteLine("Folder -> " + fld.path); } } catch (Exception e) { System.Console.WriteLine(e.ToString()); }
System.Console.ReadKey(); } } }