public void SetDefaultAvatar() { var assembly = Assembly.GetExecutingAssembly(); var resourceName = "TS3Client.png.png"; using (Stream stream = assembly.GetManifestResourceStream(resourceName)) { client.UploadAvatar(stream); } }
public E <LocalStr> UploadAvatar(System.IO.Stream stream) => tsFullClient.UploadAvatar(stream).FormatLocal();