UCMA Send File & File Transfer Sample
问题 There are no samples using for UCMA to send file from applicationendpoint to userendpoint or vice versa. I've tried below sample but it didn't work. See code and error: if (e.State == MediaFlowState.Active) { byte[] fileBytes = null; using (FileStream fs = File.OpenRead(_fileToSend)) { fileBytes = new byte[fs.Length]; fs.Read(fileBytes, 0, fileBytes.Length); } ContentType ct = new ContentType("text/x-msmsgsinvite"); ct.CharSet = "UTF-8"; StringBuilder sb = new StringBuilder(); sb.Append(