public void SaveToFile(string rootPath) { string filename = Assists.GetInfoFilename(rootPath, m_Host, Identifier); using (NetStream stream = new NetStream()) { EntityWrite(stream, null); stream.SaveToFile(filename); } }
string GetFilename(string identifier) { return(Path.Combine(CoverPath, Assists.GetFilename(identifier))); }
public static string GetFolderId(Guid itemId, Priority priority) { return(GetFolderId(Assists.GetIdentifier(itemId, priority))); }