/// <summary> Authenticates given library card with sierra server </summary> public static bool VerifyLibraryCard(string libCard) { RestHelper.Authenticate(); if (libCard.Length != libraryCardLength || !RestHelper.GetUser(libCard)) { return(false); } return(true); }