asked on July 28, 2015

Hi there, 

I'm trying to get a list of Entries Locked with the fallowing code: 

 

        static void Main(string[] args)
        {
            RepositoryRegistration repositorio = new RepositoryRegistration("xxxx", "xxxxx");
            Session session = new Session();

            session.LogIn("xxxxx", "xxxx", repositorio);
            
            EntryLockListing lockListRow = EntryLockListing.GetListing(session);

            foreach (EntryLockListingRow rowItem in lockListRow)
            {
                Console.WriteLine("NOME DO CONTRATO: " + rowItem.EntryName);
                Console.WriteLine("DATA DE CRIAÇÃO: " + rowItem.CreationTime);
            }

            lockListRow.Dispose();
            session.LogOut();
        }

But the 

EntryLockListing.GetListing(session);

ruturns nothing. Can you guys tell me where am i wrong ?