// If we want to stream a music file, we can't
 public StreamProgressInfo(IStreamble streambleResult)
 {
     this.streamble = streambleResult;
 }
예제 #2
0
 public StreamProgressInfo(IStreamble file)
 {
     this.file = file;
 }
예제 #3
0
 public int CalculateCurrentPercent(IStreamble file)
 {
     return((file.BytesSent * 100) / file.Length);
 }