test setstreamproperty
ajust interface form and demo implemention