void DoRequestProof() { // input parameters for request proof string proofName = "Proof of Degree - " + Guid.NewGuid().ToString().Substring(0, 8); Restriction restriction = RestrictionBuilder .blank() .issuerDid(_issuerDID) .build(); Protocols.PresentProof.Attribute nameAttr = PresentProofV1_0.attribute("name", restriction); Protocols.PresentProof.Attribute degreeAttr = PresentProofV1_0.attribute("degree", restriction); // constructor for the Present Proof protocol PresentProofV1_0 proof = PresentProof.v1_0(_relDID, proofName, nameAttr, degreeAttr); requestProofHandler(proof); // request proof proof.request(context); // wait for connect.me user to present the requested proof WaitFor(ref proofComplete, "Waiting for proof presentation from Connect.me"); }