how to change samesite=lax to samesite=none in asp.net

Code Example - how to change samesite=lax to samesite=none in asp.net

                
                        response.Headers.Append("set-cookie", %%%~COMPRESS~PRE~0~%%%quot;{key}={value}; path=/; SameSite=None; Secure");