Ejemplo n.º 1
0
        public void SetDefaultAvatar()
        {
            var assembly     = Assembly.GetExecutingAssembly();
            var resourceName = "TS3Client.png.png";

            using (Stream stream = assembly.GetManifestResourceStream(resourceName))
            {
                client.UploadAvatar(stream);
            }
        }
Ejemplo n.º 2
0
 public E <LocalStr> UploadAvatar(System.IO.Stream stream) => tsFullClient.UploadAvatar(stream).FormatLocal();