SPUtility.GetListGuid method
SharePoint 2013
NOTE: This API is now obsolete.
Given a string with the list's ID or it's display name, will return the corresponding ID as a GUID for the list in the specified web.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)