Exemplo n.º 1
0
        public static string SaveColorProfile(ColorProfile profile, FileCache.FileCache cache)
        {
            using (var stream = new MemoryStream())
            {
                profile.Save(stream);
                stream.Position = 0;

                return(cache.AddFile("tmp", stream));
            }
        }