public string GetResourceHash(string sessionKey, Resource resource, string user, string pass) { //Auth login and IP AuthorizeClient(user, pass); LocalRepo.SessionKey = sessionKey; return(LocalRepo.Hash(resource)); }
public string GetItemHash(string sessionKey, ItemIdentifier itemId, string user, string pass) { //Auth login and IP AuthorizeClient(user, pass); LocalRepo.SessionKey = sessionKey; return(LocalRepo.Hash(itemId)); }