Hi Guys,
i am trying to search the LFclient through LF SDK code, below is my code
RepositoryRegistrationCollection repoRegColl = myServ.GetRepositories();
RepositoryRegistration myRepoReg = repoRegColl["IT"];
Session mySess = new Session();
mySess.LogIn(myRepoReg);
EntryInfo GEI = Entry.GetEntryInfo(listEntryIDs[0], mySess);
string ppath = GEI.Path;
string[] filesArray = ppath.Split(Path.DirectorySeparatorChar);
var target = "Ticket #";
var results = Array.FindAll(filesArray, s => s.StartsWith(target));
Search LFSearch = new Search(mySess);
string file = results[0].ToString();
LFSearch.Command = file;
LFSearch.Run();
any help is appreciated.
Thank you